Policy
Prevent Excel from running XLM macros
This policy setting will prevent Excel from running Excel 4.0 (XLM) macros. If you enable this policy setting, XLM macros cannot be run in Excel. If you disable or don’t configure this policy setting, XLM macros can be run in Excel.
Pack Microsoft Office
Category Microsoft Excel 2016 / Excel Options / Security / Trust Center
Policy ID
eacf682f5030 Internal name
L_XL4KillSwitchPolicy Registry
Copy registry mappings
HKCU\software\policies\microsoft\office\16.0\excel\security\xl4macrooff (enabled) = 1
HKCU\software\policies\microsoft\office\16.0\excel\security\xl4macrooff (disabled) = 0 Policy notes
This policy setting will prevent Excel from running Excel 4.0 (XLM) macros. If you enable this policy setting, XLM macros cannot be run in Excel. If you disable or don’t configure this policy setting, XLM macros can be run in Excel.
Related policies
Block Excel XLL Add-ins that come from an untrusted sourceBlock macros from running in Office files from the internetDisable all application add-insDisable Trust Bar Notification for unsigned application add-ins and block themMacro Notification SettingsRequire that application add-ins are signed by Trusted PublisherSet maximum number of trust records to preserve