WD: Adding Record Numbers to a Data File Table
ID: Q110863
|
The information in this article applies to:
-
Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
-
Microsoft Word for Windows 95, versions 7.0, 7.0a
-
Microsoft Word 97 for Windows
SUMMARY
The Word version 2.0 for Windows DATAFILE template contains a macro to
number data file records by adding a new column and filling the column with
consecutive numbers.
This template in not included with Word versions 6.x, 7.x, or 97, because
the functionality that the macro adds is built in to these versions of Word
(in these versions of Word you can use the Bullets And Numbering command).
MORE INFORMATION
To number data file records, use the appropriate method for your version of
Word.
Word 97
Method 1:
- Select the first column in the table.
- Click the Table button on the Standard toolbar.
This places a new column on the left of the table.
- Type the field name in the first cell of the column.
- Place the insertion point in the second cell of the column.
- Press ALT+SHIFT+PAGE DOWN to select the remainder of the column.
- Click the Numbering button on the Formatting toolbar.
Method 2:
- Select the first column in the table.
- Click the Table button on the Standard toolbar.
This places a new column on the left of the table.
- Type the field name in the first cell of the column.
- Place the insertion point in the second cell of the column.
- Press ALT+SHIFT+PAGE DOWN to highlight the remainder of the column.
- On the Format menu, click Bullets And Numbering.
- Select the Numbered tab.
- Select the desired style.
- Click the Customize button to remove the trailing period in the Number
Format box or to change other attributes.
- Click OK to exit the Customize Numbered List dialog box.
Word 6.x, 7.x
Method 1:
- Select the first column in the table.
- Click the Table button on the Standard toolbar. This places a new
column on the left of the table.
- Type the field name in the first cell of the column.
- Place the insertion point in the second cell of the column.
- Press ALT+SHIFT+PAGE DOWN to highlight the remainder of the column.
- Click the Numbering button in the Formatting toolbar.
- In the Table Numbering dialog box, select Number Down Columns and
select Number Each Cell Only Once.
- Choose OK to apply the numbers.
Method 2:
- Select the first column in the table
- Click the Table button on the Standard toolbar. This places a new column on the left of the table.
- Type the field name in the first cell of the column.
- Place the insertion point in the second cell of the column.
- Press ALT+SHIFT+PAGE DOWN to highlight the remainder of the column.
- On the Format menu, click Bullets And Numbering.
- Select the Numbered tab.
- Select the desired style.
- Click the Modify button to remove the trailing period in the Text
After box or to change other attributes.
- Click OK to exit the Modify Numbered List dialog box.
- Click OK to exit the Bullets And Numbering dialog box.
- In the Table Numbering dialog box, select Number Down Columns,
and select Number Each Cell Only Once.
- Click OK to apply the numbers.
After following the above steps, the numbering will be automatically
updated as records are added and removed.
NOTE: The numbers you add using either of the above methods do not appear
in your merged documents. If you insert the merge field in your main
document, it yields no result in the merged document. If you want to insert
the record number in your merged document, choose the Insert Word Field
button on the Mail Merge toolbar, and then select Merge Record # from the
list that is displayed.
To remove the numbers from the table, select the column and:
- On the Edit menu, and click Cut.
-or-
- Press CTRL+Q to return to the current style.
-or-
- Select the numbered cells and click the Numbering button on the
Formatting toolbar.
REFERENCES
"Microsoft Word User's Guide," version 6.0, page 300
Additional query words:
6.0 Print datafile.dot macro rec_num word7 word6 7.0 word95 winword create word97
Keywords : kbprint kbualink97 kbmerge
Version : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a; :
Platform : WINDOWS
Issue type :
|