Disable VBA for Office applications
Supported on: At least Windows Server 2008 R2 or Windows 7
Registry
HKLM
software\policies\microsoft\office\16.0\common Value name: vbaoff
Enabled: vbaoff = 1
Disabled: vbaoff = 0
Description
This policy setting will prevent Office applications from using Visual Basic for Applications (VBA). If you enable this policy setting, you will disable Visual Basic for Applications (VBA) for Office applications. If you disable or do not configure this policy setting, Visual Basic for Applications (VBA) will be enabled for Office applications. See the Office Resource Kit for more important information about configuring security settings. Note: Changing this setting will not install or remove the VBA files from the computer.