VBA Project - Open/Close with Macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is there a macro to open and or close a VBA Project? If so, please include a
command to protect or unprotect the VBA project.

Thank you,

DAnny
 
No there are no macros to do this, but what you can do is reference it,
although I don't think that is what you want. If you want to protect your
project from prying eyes, after you do Alt F11, Click on Tools -> VBA
Properties and click on the protection tab and set your password and click on
the lock project for viewing check box, save the file close it and reopen for
the changes to take effect.
 
Thanks Michael. No wonder I did not get any response on my previous posting re:
VBA Password Question
 

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