The information in this article applies to:
SUMMARYThis article contains a sample macro that demonstrates the use of the following WordBasic statements and functions: ViewToolbarsThis article supplements the information in online Help. To open this Help topic, click Contents on the Help menu and then click the "Programming with Microsoft Word" topic. MORE INFORMATIONViewToolbarsSyntax:ViewToolbars [.Toolbar = text] [, .Context = number] [, .ColorButtons = number] [, .LargeButtons = number] [, .ToolTips = number] [, .Reset] [, .Delete] [, .Show] [, .Hide]Example: The following sample macro prompts the user for a toolbar to view. After the toolbar is displayed, the macro asks the user if the toolbar should then be hidden. Run the macro and type "Microsoft" (without the quotation marks).
There are two additional commands that can also be used to display and hide
certain toolbars:
ViewBorderToolbarExample:
ViewDrawingToolbar
Both of the previous macros display the toolbar if the toolbar is
hidden and hide the toolbar if it is displayed.
Additional query words:
Keywords : kbmacro kbprg kbdtacode kbmacroexample winword macword word6 word7 word95 |
Last Reviewed: December 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |