Batch VBA Password Protect All Workbooks Within a folder... Missing Piece of the Puzzle

rosscoexcelmonster

New Member
Joined
Aug 1, 2013
Messages
8
Hello everyone,

I was wondering if you could help me with something that would be truly invaluable to my work life!

I already have the first 2 pieces of the puzzle, however, my knowledge doesn't allow me to complete the solution.

1. I already have a macro that lists all of the workbooks within a specific folder - it returns a complete list of their full file paths and outputs them within a single column (column A)

2. The second macro generates random passwords in the column B, next to all of the listed workbook file paths in column A.

3. This is where you knowledgeable gurus come in: I need to create a Macro that allows me to password protect each of the different work books in the left column(column A), with adjacent, random password generated in the right column (column B)


I really appreciate you guys taking the time to ready this. Hopefully you can help! If not, thank you all the same!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,223,714
Messages
6,174,051
Members
452,542
Latest member
Bricklin

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