ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   macros disabled (https://www.excelbanter.com/excel-programming/276364-re-macros-disabled.html)

Dan E[_2_]

macros disabled
 
Gerardo,

If macros are disabled your macro to detect whether or not
macros were disabled wouldn't run. The macro to close the
file would also not run.

Dan E

"Gerardo" wrote in message ...
Is there any way to detect if macros were disabled when a file is open ?
I'd like to automatically close a file if macros are not enabled.


thanks !!






All times are GMT +1. The time now is 01:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com