en-US

Enable Automation events

Supported on: At least Windows Server 2008 R2 or Windows 7

Registry

HKCU software\policies\microsoft\office\16.0\visio\application

Value name: eventsenabled

Enabled: eventsenabled = 1

Disabled: eventsenabled = 0

Description

Enables Visio events to be sent to Visio add-ons and VBA macros. If cleared, disables all Visio events. If you clear this option, some drawing types in Visio that rely on Automation events may not have full functionality.