Id Property (CommandBarControl Object)

Id Property (CommandBarControl Object)

         Example                 

Returns the ID for a built-in command bar control. Read-only Long.

Remarks

A control's ID determines the built-in action for that control. The value of the Id property for all custom controls is 1.