View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
BillyRogers BillyRogers is offline
external usenet poster
 
Posts: 78
Default ADO.Net 2.0 version of CopyFromRecordset

Here is a line of code I used in an Access application using ADO to call a
stored procedure and then open excel and past the recordset to excel.

xlApp.Workbooks(1).Worksheets(1).Cells(2, 1).CopyFromRecordset rst1

Is there a version of CopyFromRecrodset that I can use in VBExpress with
ADO.Net 2.0 to past a DataTable into Excel?

Thanks,


--
Billy Rogers

Dallas,TX

Currently Using SQL Server 2000, Office 2000 and Office 2003