Programming with Reflection
GetButtonLabel method
Syntax LabelText = object.GetButtonLabel(Index)
Returns the text displayed on the specified toolbar button. This method returns information for the Standard toolbar only.
Index Argument type: Integer
Specifies a toolbar button. Use 1 for the leftmost button, and so on.
LabelText Return type: String
The text displayed on the specified button. This string can be up to 40 characters long.