Remove VBA - Password (not by hacking!)

dh_ander

Board Regular
Joined
Jul 31, 2006
Messages
119
For data migration purposes I need to alter "path" statements in VBA code in Excel sheets.
Sometimes the VBA code is protected and I need open the VBA by entering a known password or check from a list of passwords.

Since we speak about tens of thousand of sheets this can't be done on a individual basis anymore.

Any suggestions for some code to automate this proces?

Thanks in advance
David
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
You would need to adapt something like this which is code to lock the project.
 
Upvote 0

Forum statistics

Threads
1,196,368
Messages
6,014,877
Members
441,853
Latest member
Carlp16

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