User Configuration > Administrative Templates > Microsoft Office 2016 > Security Settings
User
HKCU\software\policies\microsoft\office\16.0\common
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.