VBA Code

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

Guest

Hi, how can avoid people getting into the VBA code of the controls after the
Sheet is done and ready to be in production?

Thanks
 
Password protect the VBA project. Open the VB Editor and choose Tools |
VBAProject Properties, then on the [Protection Tab] check the box next to
"Lock Project for viewing" and enter and confirm a password. Be sure to
write down the password somewhere safe - these are tougher to crack if you
forget than passwords for workbooks/worksheets. Or save a copy without the
password protection for your own future maintenance needs.

After you do this, when you reopen the workbook after closing and attempt to
open the VB Editor, you'll be prompted to provide the password before you can
even see the code.
 
Thanks a lot buddy

JLatham said:
Password protect the VBA project. Open the VB Editor and choose Tools |
VBAProject Properties, then on the [Protection Tab] check the box next to
"Lock Project for viewing" and enter and confirm a password. Be sure to
write down the password somewhere safe - these are tougher to crack if you
forget than passwords for workbooks/worksheets. Or save a copy without the
password protection for your own future maintenance needs.

After you do this, when you reopen the workbook after closing and attempt to
open the VB Editor, you'll be prompted to provide the password before you can
even see the code.

Orlando said:
Hi, how can avoid people getting into the VBA code of the controls after the
Sheet is done and ready to be in production?

Thanks
 

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