You now can't do anything with this project unless you have the password for it. Now, whenever you go to open the file and view the code again, the window will look like this:Īnd, when you try to expand the project, a window opens for you to enter the password. Hit OK, save the file, close it, and that's it!.In the window that opens, go to the Protection tab and check next to where it says Lock project for viewing and then enter a password.Right-click the desired project from the left side of the window and then click VBAProject Properties.Go to the VBA Editor window by hitting Alt + F11.Steps to Password Protect VBA Code/Macros This allows you to safely secure your VBA code and prevent users from tampering with it or even seeing it. How to password protect VBA code and macros in Excel so that a user cannot see the code or edit it or do anything to it at all.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |