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