The information in this article applies to:
SUMMARYThis article contains a sample macro that demonstrates the use of the following WordBasic statements or functions:
This article supplements the information in online Help. To open this Help
topic in Word for Windows, click Contents on the Help menu and then
choose the "Programming with Microsoft Word" topic. In Word for the
Macintosh, click the Help icon, select Microsoft Word Help and choose the
"Programming with Microsoft Word" topic.
MORE INFORMATIONToggleFullSyntax:
Example:
This sample macro allows you to see a document on screen without rulers, toolbars, or other screen elements.
ToggleMainTextLayerSyntax:
Example:
This sample macro toggles the display of the text in the document layer when headers and footers are displayed. If the selection is not within a header or footer, an error occurs.
TogglePortraitSyntax
ExampleThis sample macro switches the selected sections between portrait and landscape page orientations. If the selected sections have different page orientations, an error occurs.
Additional query words:
Keywords : kbmacro kbprg kbdtacode kbmacroexample winword macword word6 word7 word95 |
Last Reviewed: December 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |