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
PackMicrosoft Office
CategoryMicrosoft Excel 2016 / Excel Options / Security / Trust Center
Policy IDeacf682f5030
Internal nameL_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