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
PackMicrosoft Office
CategoryMicrosoft Visio 2016 / Visio Options / Security / Macro Security
Policy IDf1da54e34ea4
Internal nameL_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