Share via


CommandBars.GetScreentipMso Method

Office Developer Reference
Aa434607.vs_note(en-us,office.12).gif  Note
The use of CommandBars in some Microsoft Office applications has been superseded by the new Ribbon user interface. For more information, search help for the keyword "Ribbon."

Returns the screentip of the control identified by the idMso parameter as a String.

Syntax

expression.GetScreentipMso(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.GetScreentipMso("Paste")

See Also