I currently have a routine which reads rows/columns and writes into a SQL table from a SELECT
statement.
We were thinking of then reading the SQL table and updating an empty Excel worksheet. What I would like to do is read and then update the data directly into Excel.
My program currently does the following:
- Opening the workbook.
- Accessing the different worksheets.
- Saving As a new workbook name.
- Closing Excel.
I just need an example that:
- will allow the first row to be the column names
- then read out the data into the various cells for each row.