Figure 5.
Add-In Designer Code Window.
The IDTExtensibility2 interface provides the add-in with events. Unlike VB5 and VB6, the designer in VBA requires implementation of only the needed events.