General discussion
May 26, 2002 at 11:17 AM
elomis

Macro for Repetitive Fields

by elomis . Updated 24 years, 3 months ago

Hi guys,
I work at the Tasmanian Department of Police and Public Safety in Australia and I need to figure something out.
I am writing (or adding to) a Word Macro that needs to read in information into six fields (columns) for as many rows as thereare forensic items to be logged.
Can I use a for loop (For I = 1 to 20) and include the I on form fields (i.e. TextFieldNameI) to get fields called TextFieldName1 through TextFieldName20? or do I use TextFieldName(20) or [20] or .20???
Any input appreciated.

This discussion is locked

All Comments