Macro - Apply filter/s to multiple password-protected files before consolidating

Giospike

New Member
Joined
Jun 23, 2013
Messages
1
I need a macro that filter/s (entered via Input Box) several xls files before they can be combined to a single worksheet. Input Box will be used to filter the “Employee Name” in “Column C”. I should be able to enter one or more “Employee Name” to filter before consolidating. Also, the files are password protected. The macro must also have the password embedded (1234) so there’s no need to enter the password for every file.</SPAN>

The reason for this macro is each file that I’ll be consolidating contains more than 60,000 rows. I only need to copy around 50 rows only from each file.</SPAN>


The macro will ask which xls files to filter/combine.
The macro will automatically enter the password to each file. They have the same password "1234".
An Input Box must appear where I can enter the employee name I want to filter across all xls files I selected.


Can you anyone help me please?</SPAN>
 
Last edited:

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,223,270
Messages
6,171,102
Members
452,379
Latest member
IainTru

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