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.

Supported on: At least Windows 7
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\visio\application
Value Nameloadvbaprojectsfromtext
Value TypeREG_SZ
Enabled Value1
Disabled Value0

visio16.admx

Administrative Templates (Computers)

Administrative Templates (Users)