_CommandBars.ActionControl Property
Returns the CommandBarControl object whose OnAction property is set to the running procedure.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
ReadOnly Property ActionControl As CommandBarControl
Get
'Usage
Dim instance As _CommandBars
Dim value As CommandBarControl
value = instance.ActionControl
CommandBarControl ActionControl { get; }
Property Value
Type: Microsoft.Office.Core.CommandBarControl
Remarks
If the running procedure was not initiated by a command bar control, this property returns Nothing.
Call this property and the Tag property to determine which command bar button was previously clicked.