CommandInfo Property

           

Finds the command in the command group associated with the given CommandBarControl and returns the command's GUID and ID.

Syntax

Property Get CommandInfo(CommandBarControl As CommandBarControl, ByRef GUID As Bstr*, ByRef id As Long)

The syntax has these parts:

Part Description
CommandBarControl Required. The CommandBarControl associated with the command.
GUID Required String. ByRef argument for passing back the commandÆs GUID
id Required Long. ByRef argument for passing back the commandÆs ID.