January 19, 2008 at 1:31 am
Hi,
I need to create an Excel spreadsheet using sp_OACreate and then write the results of a SQL query to the spreadsheet BEFORE I save it. This is because I want to format the data. I would have used "ExecuteWithResults" but see this is redundant. What has replaced it? Can I create an ADODB.Recordset and copy this to Excel? How would you do this?
Stephen
January 19, 2008 at 6:56 am
The following URL has a lot of good information about Excel spreadsheets and ADODB... perhaps it'll have what you're looking for...
http://www.simple-talk.com/sql/t-sql-programming/sql-server-excel-workbench/
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply