![]() |
Hiding Code
Is there any way to hide the "view code" option? I have a macro that
protects my worksheet with a password which I'd like to keep secret. Thanks! Jae |
Jae, you can protect the VBA project,
To protect the VBA project, from your workbook right-click the workbook's icon and pick View Code. This icon is to the left of the "File" menu this will open the VBA editor, in the left hand window right click on your workbook name and select VBA project properties, protection, check lock project for viewing and set a password. Press Alt and Q to close this window and go back to your workbook and save and close the file. Be aware that this password can be broken by third party software -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "Jae" wrote in message ... Is there any way to hide the "view code" option? I have a macro that protects my worksheet with a password which I'd like to keep secret. Thanks! Jae |
Thanks for your help Paul. It worked like a charm. Jae
"Paul B" wrote: Jae, you can protect the VBA project, To protect the VBA project, from your workbook right-click the workbook's icon and pick View Code. This icon is to the left of the "File" menu this will open the VBA editor, in the left hand window right click on your workbook name and select VBA project properties, protection, check lock project for viewing and set a password. Press Alt and Q to close this window and go back to your workbook and save and close the file. Be aware that this password can be broken by third party software -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "Jae" wrote in message ... Is there any way to hide the "view code" option? I have a macro that protects my worksheet with a password which I'd like to keep secret. Thanks! Jae |
Jae, your welcome
-- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "Jae" wrote in message ... Thanks for your help Paul. It worked like a charm. Jae "Paul B" wrote: Jae, you can protect the VBA project, To protect the VBA project, from your workbook right-click the workbook's icon and pick View Code. This icon is to the left of the "File" menu this will open the VBA editor, in the left hand window right click on your workbook name and select VBA project properties, protection, check lock project for viewing and set a password. Press Alt and Q to close this window and go back to your workbook and save and close the file. Be aware that this password can be broken by third party software -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "Jae" wrote in message ... Is there any way to hide the "view code" option? I have a macro that protects my worksheet with a password which I'd like to keep secret. Thanks! Jae |
All times are GMT +1. The time now is 05:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com