Microsoft KB Archive/70964: Difference between revisions

From BetaArchive Wiki
m (Text replacement - ">" to ">")
m (X010 moved page Microsoft KB Archive/Q70964 to Microsoft KB Archive/70964 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
 
(No difference)

Latest revision as of 19:29, 12 August 2020

Word 5.5: Reserved ‘Field’ Variable in Menus and Dialog Boxes

PSS ID Number: Q70964 Article last modified on 11-02-1994

5.50 6.00

MS-DOS

The information in this article applies to:
- Microsoft Word for MS-DOS, versions 5.5 and 6.0

SUMMARY

In Microsoft Word for MS-DOS version 5.5 or 6.0 macros, you can use the reserved variable “Field” to obtain the contents of the active option in a menu or dialog box.

For example, to obtain the filename displayed in the Save As dialog box, set a macro variable equal to “Field.” The syntax is as follows:

<<Set variable1=field>>

Note: The opening chevron (<<) is created by pressing CTRL+[, and the closing chevron (>>) is created by pressing CTRL+].

The reserved variable “Selection” should be used when the selection is part of the document text. Use the “Field” variable when the active text is part of a dialog box or menu.

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: 5.50 macro selection set contents 6.00 ============================================================================= Copyright Microsoft Corporation 1994.