Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a workbook with complementary Auto_Open and Workbook_BeforeClose code.
Part of Auto_Open ensures macros are enabled. With Workbook_BeforeClose resetting the workbook for when it is next opened. Question having opened a workbook with macros enabled can a user then turn them off sometime during the use of the book, thereby disabling my Workbook_BeforeClose code. (Access to Macro code is password protected) Could not find correct placement/syntax for Application.EnableCancelKey - xlDisabled. but having tried Ctrl+Break, it has no effect as these macros are not actually running while the book is in use. Many Thanks Paul Moles |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can force enable macros to be able to open my workbook? | Excel Discussion (Misc queries) | |||
Open workbook-macros enabled, opening another with macros | Excel Programming | |||
How to stop having to re-assign macros every time you open a workbook??? | Excel Programming | |||
Open workbook - prevent macros | Excel Programming | |||
Can't open Excel2003 workbook containing VBA macros with Excel2000. | Excel Programming |