ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro to change security level (https://www.excelbanter.com/excel-programming/272229-macro-change-security-level.html)

Michael Miazga[_2_]

Macro to change security level
 
Is it possible to write a macro to automatically run when the spreadsheet is
opened which sets the security level to medium, so that the macros in a
spreadsheet will be able to be run? Also can the macro hit the enable
macros button for a excel install already set to medium? I don't want to
have to talk my users through resetting thier security settings..



Tom Ogilvy

Macro to change security level
 
Allowing a macro to change the security setting would defeat the purpose of
having a security setting. So, no, you can't do that with macro's contained
in the workbook being opened.

Regards,
Tom Ogilvy

"Michael Miazga" wrote in message
...
Is it possible to write a macro to automatically run when the spreadsheet

is
opened which sets the security level to medium, so that the macros in a
spreadsheet will be able to be run? Also can the macro hit the enable
macros button for a excel install already set to medium? I don't want to
have to talk my users through resetting thier security settings..





Michael Miazga[_2_]

Macro to change security level
 
Thanks, I figured so much, thought maybe there was a workaround.


"Tom Ogilvy" wrote in message
...
Allowing a macro to change the security setting would defeat the purpose

of
having a security setting. So, no, you can't do that with macro's

contained
in the workbook being opened.

Regards,
Tom Ogilvy

"Michael Miazga" wrote in message
...
Is it possible to write a macro to automatically run when the

spreadsheet
is
opened which sets the security level to medium, so that the macros in a
spreadsheet will be able to be run? Also can the macro hit the enable
macros button for a excel install already set to medium? I don't want

to
have to talk my users through resetting thier security settings..








All times are GMT +1. The time now is 08:45 PM.

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