Hello, I was asked by a co-worker to see if there is a code he can use to make all excel files in a specific folder require a password to modify. He wanted to start using this option going forward when he saves his files, but he wants to do the same thing with the rest of the files in the folder. There are many people viewing the file but they should all only be read-only and only he should be able to make edits. To clarify, I am not meaning the Protect Workbook option, I am talking about when you go to Save As, then the tools dropdown, and then general options where it gives you the password to open and password to modify options. He wants to use the same password so we'll just say the password is "password" and I can edit the code to have it changed to what he truly wants it to be. We'll just say that the folder containing the files is in the C Drive called "Sample". Is there a code that can accomplish this? Thank you!
Last edited: