SizeToolbar

Syntax

SizeToolbar Toolbar$, Width

Remarks

Sizes a floating toolbar to the available width nearest the specified width. If the specified toolbar is anchored at the top, bottom, or either side of the Word window, SizeToolbar has no effect.

Argument

Explanation

Toolbar$

The name of the toolbar as listed in the Toolbars dialog box (View menu)

Width

The width of the toolbar, in pixels


Example

This example sizes the Standard toolbar such that the buttons are displayed in two horizontal rows.


MoveToolbar "Standard", 0, 0, 40
SizeToolbar "Standard", 368

See Also

MoveToolbar