#1   Report Post  
Jae
 
Posts: n/a
Default 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
  #2   Report Post  
Paul B
 
Posts: n/a
Default

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



  #3   Report Post  
Jae
 
Posts: n/a
Default

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




  #4   Report Post  
Paul B
 
Posts: n/a
Default

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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change case...help please Terry Excel Worksheet Functions 14 October 2nd 05 12:29 PM
Macro for changing text to Proper Case JPriest Excel Worksheet Functions 3 August 8th 05 09:31 PM
Using other workbooks.. DavidMunday Excel Worksheet Functions 2 July 1st 05 07:35 AM
Make Change Case in Excel a format rather than formula Kevin Excel Worksheet Functions 1 March 18th 05 08:53 PM
Opening a file with code without a set file name jenkinspat Excel Discussion (Misc queries) 1 March 4th 05 10:50 AM


All times are GMT +1. The time now is 10:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"