If the column number is not fixed, you will need to use VBA to loop through the fields
to dynamically build the UNION query or
to directly put the data into a temporary table.
If the column number is not fixed, you will need to use VBA to loop through the fields
to dynamically build the UNION query or
to directly put the data into a temporary table.