Description

Set or get the caption for a menu entry or a toolbar button.

Property type

A String value.  

Syntax

object.Caption [= value]

The Caption Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McCommandBarControl.
valueA String value.