Password Protect Macros

C

Charles Reid

Is it possible to password protect your macros, so that no one can mess with
them or update.

Thanks,
 
D

Dave Peterson

Open your workbook
Open the VBE
Select your project
Tools|VBAProject Properties|Protection tab
Give it a memorable password.

Be aware that this protection isn't foolproof. There are password
breakers/avoiders that are available for money or free on the web.
 
C

Charles Reid

hey sir,

thanks for the info, it seems to work, but not exactly what i was looking
for.

how can i get it to where they can not see the macros at all.
 
R

Roger Govier

Hi Charles

Put
Option Private Module
at the top of the module containing your macros, then they will not be
visible from Tools>Macros.

Just Rem the line out when using it yourself.

--
Regards
Roger Govier



Charles Reid said:
hey sir,

thanks for the info, it seems to work, but not exactly what i was looking
for.

how can i get it to where they can not see the macros at all.
 

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

Top