Skip to main content

CommandBars.GetSupertipMso method

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

Syntax

expression.GetSupertipMso (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 "Cut the selection from the document and put it on the Clipboard."

Application.CommandBars.GetSupertipMso("Cut")

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>