Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am doing some VB Scripting behind an Excel spreadsheet but don't want the
code to be visible when I distribute the spreadsheet. How can I hide it? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In the VBE with your workbook with the code the active project, go to
Tools= "vbaproject name" properties where vbaproject name would be replaced with the name of your project (which is shown in the project explorer as part of the root name of your project and this name should be something other than vbaproject - the default). Anyway, this has the options for password protecting your project. -- Regards, Tom Ogilvy "jjjjj" wrote in message ... I am doing some VB Scripting behind an Excel spreadsheet but don't want the code to be visible when I distribute the spreadsheet. How can I hide it? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Tools = VBA Project properties, select the Protection tab and tick the
Lock Project For Viewing, then enter a password. Also if your project uses procedures that you do not want your users to see thru the Macro dialog box, add Option Private Module at the top of your modules to hide the code from users. -- Hope that helps, Phil ------------------------------------------ IT Analyst SE1, London, UK, http://uk.geocities.com/philippeoget philippeoget at yahoo dot com Programming Excel: <a href="http://uk.geocities.com/philippeoget/xl/InternetLinkOrganiser.zip" target="_blank"The Excel A2Z Project: </a http://uk.geocities.com/philippeoget/a2z/ "jjjjj" wrote in message ... I am doing some VB Scripting behind an Excel spreadsheet but don't want the code to be visible when I distribute the spreadsheet. How can I hide it? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run VBScript from Excel | Excel Discussion (Misc queries) | |||
Trying to Sort and Subtotal with Vbscript in Excel | Excel Programming | |||
Opening excel spreadsheet from within a VBscript | Excel Programming | |||
embed excel in ie using vbscript | Excel Programming | |||
how to kill excel using a vbscript | Excel Programming |