Prevent Excel from running XLM macros
Jump to overview

Policy overview

Key metadata and intent for this policy.

User
Category
Microsoft Excel 2016 > Excel Options > Security > Trust Center
Supported on
Windows7

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.

Internal name
L_XL4KillSwitchPolicy
Policy ID
eacf682f5030
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
User
Path
software\policies\microsoft\office\16.0\excel\security
Value name
xl4macrooff
REG_DWORD
HKCU
1
HKCU
0
Registry location
Type REG_DWORD · User
Path
software\policies\microsoft\office\16.0\excel\security
Value name
xl4macrooff
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.