Hello Guyz,
I need a help from those who are good at macro codes. Recently i decided to protect the excel files in my office. But its a tedious task to individually add password protection to the 1000's of excel files located in different folders and sub folders. There i started to search for suitable macro codes. And my search ended in getting a code similar to what i need. But i need to modify this code to suit it for my purpose.
What I require :-
1. The code should encrypt the files. The current code i recieved will only protect the files from editing. For me, files should not be viewed by anyone else with out entering the password. I want to encrypt the files
2. I want the macro code to search for excel files in folders and Subfolders. The current code only protect those files in the folder i selected.
So can anyone modify the following code to meet my purpose. It will be a great for me.
The code given below will :-
Prompt you to select a folder
Prompt you to select PROTECT or UNPROTECT action on the files in that folder
Prompt you to enter a password to use
Process all the files in that folder with options above
Give a count afterward of how many files were affected
Bookmarks