Difference between revisions of "Using events in VBA"
From Ribbon Commander Documentation
(→Subscribing to control events) |
|||
Line 6: | Line 6: | ||
== Subscribing to control events == | == Subscribing to control events == | ||
+ | * Add a new class to your VBA project and name it clsEventsDemoUI | ||
+ | * Enter the following code to the class module |
Revision as of 17:00, 17 March 2013
Prerequisites
We recommend you go though Creating an rxCustomUI object with local dispatch scope in VBA before going into this example.
Introduction
All Dynamic RibbonX controls that model UI elements with delegates support VBA events. Local dispatch scope is most appropriate for use in VBA classes.
Subscribing to control events
- Add a new class to your VBA project and name it clsEventsDemoUI
- Enter the following code to the class module