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.
PackMicrosoft Office
CategoryMicrosoft Visio 2016 / Visio Options / Security / Macro Security
Policy ID
f1da54e34ea4Internal name
L_LoadMicrosoftVisualBasicforApplicationsprojectsfRegistry
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) = 0Policy 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.