Microsoft KB Archive/110863

From BetaArchive Wiki

Article ID: 110863

Article Last Modified on 1/18/2007



APPLIES TO

  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 6.0a
  • Microsoft Word 6.0c
  • Microsoft Word 95 Standard Edition
  • Microsoft Word 95a
  • Microsoft Word 97 Standard Edition



This article was previously published under Q110863

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:

  1. Select the first column in the table.
  2. Click the Table button on the Standard toolbar.

    This places a new column on the left of the table.
  3. Type the field name in the first cell of the column.
  4. Place the insertion point in the second cell of the column.
  5. Press ALT+SHIFT+PAGE DOWN to select the remainder of the column.
  6. Click the Numbering button on the Formatting toolbar.

Method 2:

  1. Select the first column in the table.
  2. Click the Table button on the Standard toolbar. This places a new column on the left of the table.
  3. Type the field name in the first cell of the column.
  4. Place the insertion point in the second cell of the column.
  5. Press ALT+SHIFT+PAGE DOWN to highlight the remainder of the column.
  6. On the Format menu, click Bullets And Numbering.
  7. Select the Numbered tab.
  8. Select the desired style.
  9. Click the Customize button to remove the trailing period in the Number Format box or to change other attributes.
  10. Click OK to exit the Customize Numbered List dialog box.

Word 6.x, 7.x

Method 1:

  1. Select the first column in the table.
  2. Click the Table button on the Standard toolbar. This places a new column on the left of the table.
  3. Type the field name in the first cell of the column.
  4. Place the insertion point in the second cell of the column.
  5. Press ALT+SHIFT+PAGE DOWN to highlight the remainder of the column.
  6. Click the Numbering button in the Formatting toolbar.
  7. In the Table Numbering dialog box, select Number Down Columns and select Number Each Cell Only Once.
  8. Choose OK to apply the numbers.

Method 2:

  1. Select the first column in the table
  2. Click the Table button on the Standard toolbar. This places a new column on the left of the table.
  3. Type the field name in the first cell of the column.
  4. Place the insertion point in the second cell of the column.
  5. Press ALT+SHIFT+PAGE DOWN to highlight the remainder of the column.
  6. On the Format menu, click Bullets And Numbering.
  7. Select the Numbered tab.
  8. Select the desired style.
  9. Click the Modify button to remove the trailing period in the Text After box or to change other attributes.
  10. Click OK to exit the Modify Numbered List dialog box.
  11. Click OK to exit the Bullets And Numbering dialog box.
  12. In the Table Numbering dialog box, select Number Down Columns, and select Number Each Cell Only Once.
  13. 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: kbmerge kbprint kbualink97 KB110863