Open Multiple FIles that are password protected

anniemay

Board Regular
Joined
May 31, 2012
Messages
180
I have to open and copy data from between six and twenty files (it varies) on a network drive. The staff will give me their passwords so all I have to do is open each file and copy from Row 2 down to the bottom of their Sheet1 over to the master file Sheet3 and paste into the last row of sheet3, then close their file without saving. Would this have to be done one at a time or can it be done where the main workbook has it pre-recorded to do all at one time?

Also, this may seem way out to lunch but can two passwords be used so we can setup one password for all the files so we do not have to maintain a list off passwords?
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
You'll have to loop through each one, using the password provided. :P

And, no, there is no Master password. (But what a great idea!)

Look at Ron's page about merging worksheets. You could adapter his code, then use an array to provide all the passwords.

You could also suggest departmental password standards. If they are in Sales, the the password for reports submitted to division managers is Sales222, Aqusitions333, etc. At least that way, you could operate with some efficiency, vs getting everyone's password and storing them.
 
Upvote 0
Hello David,

Thanks. I will look that over and see if it has what I need. The departmental password idea sounds like a good idea and will likely adopt that. Again, thank you.
 
Upvote 0
Further to Davids comments,
apart from each sheet having different passwords being a real pain, have you considered getting the passwords AND user names AND Sheet names relative to user, then creating a VERYHIDDEN sheet listing the same.
Then you may be able to do a For / next across the worksheets to that range of cells, that unprotects does the work and reprotects.

Just a thought. !!


And I agreee......a Master password....great idea !!!
 
Upvote 0

Forum statistics

Threads
1,203,667
Messages
6,056,647
Members
444,879
Latest member
suzndush

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top