Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disable Macros through VBA
Is there any way to disable macros in the specific Workbook from VBA
code before opening that very same Workbook with VBA code i.e. to open some workbook in "Disable Macros MODE" using only VBA. Or, to refrase the question, how should be written in the VBA language, the event when user manualy opens some workbook and when prompted for macro virus protection, he clicks the "Disable Macros" buton. For which "Object"(probably Workbook.VBProject) and what property (something like "Enable Macros") has changed at that occasion. Thank You in advance. Regards. Mirom. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disable Macros through VBA
disabling/enabling the macro dialog isn't possible by design. you ca
only kludge your way around it with sendkeys and the like.. -- Message posted from http://www.ExcelForum.com |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disable Macros through VBA
See one suggestion at your other post.
Mirom wrote: Is there any way to disable macros in the specific Workbook from VBA code before opening that very same Workbook with VBA code i.e. to open some workbook in "Disable Macros MODE" using only VBA. Or, to refrase the question, how should be written in the VBA language, the event when user manualy opens some workbook and when prompted for macro virus protection, he clicks the "Disable Macros" buton. For which "Object"(probably Workbook.VBProject) and what property (something like "Enable Macros") has changed at that occasion. Thank You in advance. Regards. Mirom. -- Dave Peterson |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disable Macros through VBA
Dave Peterson wrote in message ...
See one suggestion at your other post. Thank You very much for the answer. I forget to specify that I am using Excel 2000. Sorry. Regards. Mirom. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i disable macros? | Excel Discussion (Misc queries) | |||
Enable/Disable macros | Excel Discussion (Misc queries) | |||
How to disable macros? | Excel Programming | |||
Suppress the Disable Macros / Enable Macros Dialog | Excel Programming | |||
en-/disable macros pop-up | Excel Programming |