Syntax

expression.GetLabelMso(idMso)

expression An expression that returns a CommandBars object.

Parameters

Name Required/Optional Data Type Description
idMso Required String Identifier for the control.

Return Value
String

Example

The following sample returns the String "Paste".

Visual Basic for Applications
Application.CommandBars.GetLabelMso("Paste")

See also: