D
Dick
I am trying to build a VBA utility which will help me document Outlook
2002 custom toolbars. I want the utility to extract a number of
properties, whether the toolbar pertains to Explorer or Inspector. The
property that is giving me problems is the OnAction property. The code
runs okay; I get an output list of various properties, but the OnAction
property is always blank.
I have looked in Sue Mosher's book (Microsoft Outlook Programming:
Jumpstart for Administrators, Power Users, and Developers) for some
tips. The code in Listing 21.4: Build a List of All Command Bars and
Commands, grabs the Caption property, but not the OnAction property.
Table 21.4: Key CommandBarButton Properties, describes the OnAction
property as "The name of the VBA macro to run when the control is
clicked or its value is changed".
I must be missing something. I hope someone can help me make sense of
how to capture the name of the macro which is to be run when a custom
button is clicked.
Thanks in advance.
2002 custom toolbars. I want the utility to extract a number of
properties, whether the toolbar pertains to Explorer or Inspector. The
property that is giving me problems is the OnAction property. The code
runs okay; I get an output list of various properties, but the OnAction
property is always blank.
I have looked in Sue Mosher's book (Microsoft Outlook Programming:
Jumpstart for Administrators, Power Users, and Developers) for some
tips. The code in Listing 21.4: Build a List of All Command Bars and
Commands, grabs the Caption property, but not the OnAction property.
Table 21.4: Key CommandBarButton Properties, describes the OnAction
property as "The name of the VBA macro to run when the control is
clicked or its value is changed".
I must be missing something. I hope someone can help me make sense of
how to capture the name of the macro which is to be run when a custom
button is clicked.
Thanks in advance.