Prevent the viewing of macro code

J

jeffrey15

I want to give a spreadsheet with macros to another user.
I do not want that person to be able to view the code, but
I don't want to disable the macro either. Is that
possible.

Thanks in advance.
 
K

Ken Snell

Wrong newsgroup...this is for ACCESS database program.

But yes you can put a password on the VBE itself. Open the VBE and select
Tools | VBA Project Properties. Select Protection and put a password on it.
That will have EXCEL prompt for the password if someone wants to open the
VBE for that EXCEL 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

Top