en-US

Prevent Excel from running XLM macros

Supported on: At least Windows Server 2008 R2 or Windows 7

Registry

HKCU software\policies\microsoft\office\16.0\excel\security

Value name: xl4macrooff

Enabled: xl4macrooff = 1

Disabled: xl4macrooff = 0

Description

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.