Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protect Macro Coding
Is it possible to protect just one module in Excel 2002.
As VBA project properties seems to lock the entire lot, including the ability to create/record a new macro without first entering the password. Which I'd rather not circulate. Sub HideMe () ThisWorkbook.Modules("Module1").Visible = False End Sub Is in the knowledge base for previous versions and sounds like what I want but it doesn't seem to work in 2002. Any Help Appreciated Paul |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protect Macro Coding
That only works in xl5 and xl95 which had modules "sheets" rather than the
current type of module which was introduced in xl97. You would need to move your code module to a separate workbook and make it an addin. Then create a reference from your workbook to the addin. -- Regards, Tom Ogilvy Paul Moles wrote in message ... Is it possible to protect just one module in Excel 2002. As VBA project properties seems to lock the entire lot, including the ability to create/record a new macro without first entering the password. Which I'd rather not circulate. Sub HideMe () ThisWorkbook.Modules("Module1").Visible = False End Sub Is in the knowledge base for previous versions and sounds like what I want but it doesn't seem to work in 2002. Any Help Appreciated Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help in macro coding | Excel Discussion (Misc queries) | |||
Help on macro coding for URL | Excel Worksheet Functions | |||
Please help on coding the macro. | Excel Worksheet Functions | |||
coding macro | Excel Discussion (Misc queries) | |||
Macro Coding | Excel Programming |