Policy

Enable Microsoft Visual Basic for Applications project creation

Enables creations of VBA projects when you open (or create) a document that does not already contain a project. If you clear this check box, you will not be able to create a macro in a document that does not already contain a project.

Policy
Pack Microsoft Office
Category Microsoft Visio 2016 / Visio Options / Security / Macro Security
Policy ID a2abf14e3b03
Internal name L_EnableMicrosoftVisualBasicforApplicationsproject

Registry

Copy registry mappings

HKCU\software\policies\microsoft\office\16.0\visio\application\createvbaprojects (enabled) = 1
HKCU\software\policies\microsoft\office\16.0\visio\application\createvbaprojects (disabled) = 0

Policy notes

Enables creations of VBA projects when you open (or create) a document that does not already contain a project. If you clear this check box, you will not be able to create a macro in a document that does not already contain a project.

Related policies