If you use the "copy struct to TableStruct Extended" you will have a table where the record number "reccount()" is the column number.
Perhaps you could use that for the basis of some sort of macro/procedure that would use the structure to look-up the actual field name when you refer to a column number.
If your field names are "Excel" like e.g. "A", "B" etc., you can use the column number as a variable when referring to the column as an ASCII map character. Thus:
X=1 and chr(64+x)="A"
X=2 and chr(64+x)="B"
X=3 and chr(64+x)="C"
Brian