Policy

Load Microsoft Visual Basic for Applications projects from text

If you want to be able to have your VBA project work in drawings created in other versions of Visio, select this option so that your VBA project is compiled when the file is loaded, but the compiled project is never saved.

Policy
Pack Microsoft Office
Category Microsoft Visio 2016 / Visio Options / Security / Macro Security
Policy ID f1da54e34ea4
Internal name L_LoadMicrosoftVisualBasicforApplicationsprojectsf

Registry

Copy registry mappings

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

Policy notes

If you want to be able to have your VBA project work in drawings created in other versions of Visio, select this option so that your VBA project is compiled when the file is loaded, but the compiled project is never saved.

Related policies