Protect my macros

D

davegb

I'm creating workbooks for a group of basic XL users. I don't want them
to mess my the macros should they get into the VBA editor. I've tried
to protect them by selecting the module, going into Properties and
turning on the password protection on the security tab. This, as near
as I can tell, does nothing. I then tried protecting the worksheet,
thinking that maybe the macro protection only worked if the sheet
itself was protected. No effect. Is there a way to protect my macros?
I'm not trying to protect them from serious hackers, just accidental or
curious end users.
 
G

Guest

Be sure to save your project, close it, then reopen it after setting security
in the properties tab.
 
D

davegb

Should have thought to try that, Bob. I did close the VBA editor, but
not the whole file.
Thanks
 
O

OnceTall

I've written some VBA code that I don't want the user to even see. Is
there some way to hide a module, like you can hide a worksheet?

Also, I'm afraid I'm lame enough that I can't find how you did this:
"I've tried to protect them by selecting the module, going into
Properties and turning on the password protection on the security tab."
When the module is selected, how do I find "Properties"?
 

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