ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA Code (https://www.excelbanter.com/excel-programming/395974-vba-code.html)

Orlando

VBA Code
 
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

JLatham

VBA Code
 
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" wrote:

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


Orlando

VBA Code
 

Thanks a lot buddy

"JLatham" wrote:

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" wrote:

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



All times are GMT +1. The time now is 05:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com