ToolbarName$()

Syntax

ToolbarName$(Toolbar [Context])

Remarks

Returns the name of the specified toolbar as it appears in the Toolbars dialog box (View menu).

Argument

Explanation

Toolbar

A number in the range 1 to CountToolbars(), corresponding to the toolbar whose name you want to return

Context

Specifies the list of toolbars from which to return a name for Toolbar:

0 (zero) The list of toolbars available to all documents, including those from loaded global templates

1 or omitted The list of all toolbars currently available, including those available only to documents based on the active template


For an example, see CountToolbars().

See Also

CountToolbarButtons(), CountToolbars(), ToolbarButtonMacro$()