You can open your excel workbook like a database using the ODBC driver and populate a worksheet with your recordset. Or you can open up the excel application using the object model and populate the cells (I always use the macro recorder to capture what I want to do and then duplicate that in my code).
Will this work when I am creating a new excel spreadsheet on the fly? I am needing to use an excel spreedsheet as a reporting mechanism. And the spreadsheet would be new each time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.