G
Guest
I have imported an Excel worksheet as an Access table. Access assigns the
column names (Field1, Field2, ...... Fieldn).
I want to read a row, loop through those columns, read the next row, etc.
So it's a "Do Until no more columns" nested inside a "Do until no more rows".
The reason I need to do this is that each day I will import a new version of
the worksheet, overwriting the table I import to. From day to day, there will
be a different number of rows (no problem there) and also a different number
of columns (aye, there's the rub!)
Any ideas how to do this?
column names (Field1, Field2, ...... Fieldn).
I want to read a row, loop through those columns, read the next row, etc.
So it's a "Do Until no more columns" nested inside a "Do until no more rows".
The reason I need to do this is that each day I will import a new version of
the worksheet, overwriting the table I import to. From day to day, there will
be a different number of rows (no problem there) and also a different number
of columns (aye, there's the rub!)
Any ideas how to do this?