When creating a form letter or other document template, the field code feature in Word versions 97 and higher can come in handy. With dozens of field codes available, you can manage everything from inserting information that is automatically updated to creating drop-down lists that allow users to choose which information to insert.
The field options range from addresses to user information. Following are two examples of how to use them, one basic and one advanced.
Start at the Insert menu and go to the "Field ..." option. (Word 2002 consolidates the information in the Field dialog box.)
Basic information model
In the Field dialog box, choose the Date and Time category. From there, you can add a field for the current date, the date a document was created, the current time or other options.
You also can choose the style in which the information is presented, from month and year down to hour, minute and second.
To update the information when you are in the document, put your cursor on the field. Right-click, and choose the Update Field option.
With the AUTOTEXTLIST field, you can create a drop-down list of entries for users to insert. For example, you can list all your organization's departments, and the person using the document can choose the appropriate one. Here's how:
Create the list. Start by typing your options, such as the list of departments. Highlight them, and from the Format menu, choose the Styles box. Click New Style, and give it a name (example: DepartmentsList), ensuring that the style formatting is correct.
Create entries. Next, create AutoText entries for each item. (Word sorts these items by paragraph style when displaying them, and you'll want to display only the AutoText entries based on your newly named style with this field code.)
Highlight each item individually, being careful not to include the paragraph mark after it. To simplify creating an AutoText entry, hit ALT F3 and name it. After completing AutoText entries for each item, you can delete the list of items.
Fill in the code. Now it's time to go to Insert, Field, and choose the Field Name AUTOTEXTLIST. When you hit the Field Codes button, you'll see a box that starts with AUTOTEXTLIST and a sample below of how you need to complete the box.
Why reinvent the wheel? Any time you stare at a blank page and ask yourself, "Now how did I do that last time?" you've missed an opportunity to use Microsoft Office's greatest tools: templates. Make templates work for you ... time and time again.
AUTOTEXTLIST "Literal Text" \s "Stylename" \t "Tip text"
"Literal Text" is what will appear in your document as the field, without the quotation marks. So, your document might say: Department.
The "Stylename" is the style you created, and the "Tip text" is what will appear when the document user passes the cursor over that field.
So, you might complete the field code this way for our example:
AUTOTEXTLIST "Department" \s "DepartmentsList" \t "Right click to choose one"
When a user comes to that field code in the document and uses the right mouse click, the departments' list appears, providing a choice of options. Now you're set, and so is every user.
In this Executive Summary from our popular interactive webinar, Microsoft® Certified Trainer Melissa Esquibel will show you how to find templates, how to create your own templates, how to make forms in Word and Excel and what to do with the data once you've collected it.
No matter which version of Office you use, you'll find success with templates and forms — and you'll repeat that success every time.
Stop wasting your time retyping, copying and pasting, or struggling to collect data. Microsoft Office Templates and Forms will have you creating data sets as easily as you save a file.
Get your copy today!
- 10 Secrets to an Effective Performance Review
- Tip Card: Business Management Daily's Favorite Keyboard Shortcuts
- Under 50 employees? How FMLA could apply to you regardless
- Nail down tax credit for building modifications
- 10 ways to squeeze more value from your EAP
- How to tactfully handle 'Hire my relative' pleas