What would be the best method to import an Excel file into a table aside from
I know one simple solution would be to open the file and write a sequence via looping to the rows then import the file and sort by that newly added column but wasn't sure if there was maybe a better method I could use to maintain the structure of the file.
Thanks in advance!
docmd.transferspreadsheet
? The main reason I am avoiding it this go around is that you cant guarantee the order in which it will write to the table and I need to maintain the order of the data.I know one simple solution would be to open the file and write a sequence via looping to the rows then import the file and sort by that newly added column but wasn't sure if there was maybe a better method I could use to maintain the structure of the file.
Thanks in advance!