What is the exact error message that you get when it can't connect?
I create a Pivot Table and use external connection to connect the data.
The data is a shared excel file (office 2010) with password protected. I have the password.
When I connect the PT to the protected data, it pop up for a password request. I input the correct password but cannot connect.
Something doing wrong?
Pls kindly advise. Thanks.
What is the exact error message that you get when it can't connect?
Ken Puls, FCPA, FCMA, MS MVP
Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!
Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter
If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.
I attached the data file (test_pwd.xlsx) and the open password is 123.
Pls try to use another excel file to create pivot table and connect by external connection. Just like the screendump.
I don't know what should I do even though I know the open password.
Thanks.
This is kind of interesting...
If I open the test workbook first, then I'm able to update the pivottable. If I don't though, then I get stuck in error messages trying to provide the correct username and password.
Without knowing the password setup to get this right, I'm wondering about coding a routine to open a copy of the target workbook first, before the update happens. Should be able to do that via VBA. Does that sound of interest?
Ken Puls, FCPA, FCMA, MS MVP
Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!
Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter
If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.
If I open the test workbook first, I also cannot connect the data. How can you do that?
Sent from my phone using Tapatalk
I opened the workbook, and provided the password manually. It just worked when I did that.
Ken Puls, FCPA, FCMA, MS MVP
Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!
Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter
If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.
Bookmarks