I am looking to programmatically pull data from an Excel worksheet and insert it into a database table.
How do I determine the number of columns and rows in a work
Have a look at the UsedRange property in Excel.