UserName

Displays the user's name stored in the User Information tab of the Options dialog box. If you specify a new name in quotation marks, it displays this name instead—but does not place the new name in the User Information tab.

Syntax

{ USERNAME ["NewName"] }

Switches

USERNAME supports capitalization formatting switches (see the section earlier in this chapter, "Capitalization Formatting Switches").

Examples

To display the username that already appears in the User Information tab, use the following field:

{ USERNAME }

→ For more information about document properties, see Chapter 30, "Sharing Files and Managing Word".

Get Special Edition Using Microsoft® Word 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.