I need to import an Excel file. For reasons I won't get into, I cannot
just link to the file or do an import specification, so I need to do it
via code.
I know of two ways of doing this - via a recordset and using the Excel
file as a datasource and also as setting up an Excel object and
stepping through that object's collections. (cells, rows, etc)
Can anyone tell me which one is better and why? They both seem to
work. Or perhaps, there is even a better way?
Long and short, we are getting a data file - in Excel - from a vendor -
and need to import it into our system. Stepping through the rows is
ideal to allow us to add business rules to the data.
Thanks
Brian