Mega Code Archive

 
Categories / VisualBasic Script / Application
 

Displays the Caption property for the first Control object contained in the Standard toolbar, whose index is 3

Sub Test()     MsgBox CommandBars(3).Controls(1).Caption End Sub