Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
If someone opens an Excel file containing macros, I would like the file to remain closed if they choose not to enable macros. A message like "This worksheet must be opened with macros enabled. The file will now close" would be nice. Can any event capture the "enable macro" message box? cheers Paul |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Paul,
what you want cannot be done, because the macro warning should protect against virusses. If it was possible, they would be the first to use this feature;) What *is* possible is the following setup: Have 1 sheet visible containing the text " Enable Macro's". All other sheets should be set to "very Hidden" On opening the spreadsseet your open macro should hide the visible sheet and show the hidden sheet(s). Users can still open your file, but it is of little use to them unless macro's are enabled. Another option is to sign your VBA project digitally, this will allow execution of the VBA code regardless of security settings. DM Unseen |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please don'r reply- I searched on it in this group.
regards Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
enable macros question not being asked when opening file | Excel Discussion (Misc queries) | |||
Force users to enable macros when open a workbook | New Users to Excel | |||
"openinf file..."ENABLE MACROS...DISABLE MACROS" | Excel Discussion (Misc queries) | |||
How can force enable macros to be able to open my workbook? | Excel Discussion (Misc queries) | |||
Excel Slow File Open Directory Response | Excel Discussion (Misc queries) |