Protecting macros to avoid unauthorised changes

  • Thread starter Thread starter Des
  • Start date Start date
D

Des

Hi

I heard of a method using the VBA editor to protect
macros with a password to avoid changes to the macros.

Can someone help me with the detail of this procedure.

Thanks

Des.
 
in the vbe>right click on the workbook name>properties>protection
 
Hi Des

In the VB editor: Tools > VBA Project properties > Protection.

Note that after you've done this, protection doesn't kick in until you save, close and
reopen the file, assuming that you are the rightful owner the rest of the current session.
So don't panic when you still can see your code.
 
In the VBE, Tools/(project) Properties/Protection tab. Check the
Lock project for viewing checkbox and enter a password.

Note: you'll still see the project as available until you close and
reopen the file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top