Microsoft KB Archive/50988

From BetaArchive Wiki

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


Additional reference words: w4wmacro