Applies ToWord for Microsoft 365 Word for Microsoft 365 for Mac Word 2021 Word 2021 for Mac Word 2019 Word 2019 for Mac Word 2016

The UserName field inserts the user name from the User name box in the Word Options dialog box. To view the User name box, click the File tab, click Options, and then click General. The User name box is located under Personalize your copy of Microsoft Office.

Syntax

When you view the UserName field in your document, the syntax looks like this:

{ USERNAME ["NewName"] }

Note:  A field code tells the field what to show. Field results are what’s shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Instructions

"NewName"

Inserts the name you specify instead of the name in the User name box. NewName doesn't change the contents of the User name box.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.