Merging encrypted workbooks into one sheet (cross posted at OzGrid)

jsalisbury

New Member
Joined
Nov 6, 2013
Messages
1
(This request was cross posted at OzGrid <http://www.ozgrid.com/forum/showthread.php?t=183930>. Through my searches I found many relevant responses to merging excel workbooks into a single sheet on MrExcel, and so I posted in this forum as well.)

I am trying to merge multiple Excel workbooks into one sheet. I have found several code examples, but my issue is that all of the workbooks I am trying to merge are encrypted with a different password. Is there a way to indicate in the macro which specific files I want to merge (all files are located within the same folder) and what their encryption passwords are? I only have about 15 - 20 workbooks I am trying to merge, so I don't have a problem copying/pasting the code and entering in each password into the macro.

All workbooks have the same headings row (Row 1) with the information in each sheet having the same information in the respective columns.

One other thing is I would like to copy the data from the only visible sheet in each workbook. However, each sheet is named something unique. If this is too much of a problem, I can rename them all to the same sheet name, but I would prefer to be able to keep them as unique names.

Any help would be greatly appreciated. TIA.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,223,250
Messages
6,171,036
Members
452,374
Latest member
keccles

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