CommandBarPopup Object
Description
Represents a pop-up control on a command bar.
Using the CommandBarPopup Object
Use Controls(index), where index is the number of the control, to return a CommandBarPopup object. (The Type property of the control must be msoControlPopup, msoControlGraphicPopup, msoControlButtonPopup, msoControlSplitButtonPopup, or msoControlSplitButtonMRUPopup.)
You can also use the FindControl method to return a CommandBarPopup object. The following example searches all command bars for a CommandBarPopup object whose tag is "Graphics."
Set myControl = Application.CommandBars.FindControl _
(Type:=msoControlPopup, Tag:="Graphics")
Remarks
Every pop-up control contains a CommandBar object. To return the command bar from a pop-up control, apply the CommandBar property to the CommandBarPopup object.
Properties
Application property, BeginGroup property, BuiltIn property, Caption property, CommandBar property, Controls property, Creator property, DescriptionText property, Enabled property, Height property, HelpContextId property, HelpFile property, Id property, Index property, Left property, OLEMenuGroup property, OLEUsage property, OnAction property, Parameter property, Parent property, Priority property, Tag property, TooltipText property, Top property, Type property, Visible property, Width property.
Methods
Copy method, Delete method, Execute method (Command Bar controls), Move method, Reset method, SetFocus method.