Microsoft KB Archive/50988

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Numbering Rows of a Table

PSS ID Number: Q50988 Article last modified on 06- 7-1991

1.00 MS-DOS

Summary: The following is a short macro that takes your numeric input, then inserts the {autonum} field and moves down a single row for the number of rows you input: Sub MAIN Print “how many times:” Input number For index = 1 To number InsertField “autonum” LineDown 1 Startofline Next End Sub

Reference(s):

Additional reference words: w4wmacro