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.

Policy
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