Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have an addin which is locked. On a given command the addin copies a custom worksheet to a new workbook. The custom worksheet contains some code in the worksheet object and this is no longer locked. I'd like it be unavailable to the user, so how can I lock this new VBA project programmatically? any help appreciated. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Send keys is about the only way you could do it. There is no provision to
do this in Excel 2000 and earlier for sure. Application.VBE.ActiveVBProject.Protection will return the status, but it is read only. -- Regards, Tom Ogilvy "jacob" wrote in message ... Hi, I have an addin which is locked. On a given command the addin copies a custom worksheet to a new workbook. The custom worksheet contains some code in the worksheet object and this is no longer locked. I'd like it be unavailable to the user, so how can I lock this new VBA project programmatically? any help appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
row locking, instead of file locking? | Excel Discussion (Misc queries) | |||
Excell error "Can't find Project or Library" Project VBAProject | Excel Worksheet Functions | |||
locking formula in cells in without locking whole sheet | Excel Discussion (Misc queries) | |||
How to convert MS Project to MS Excel. I don't have MS Project. | Excel Discussion (Misc queries) | |||
I pay $ for this project | Charts and Charting in Excel |