PC Review


Reply
Thread Tools Rate Thread

Another vb.net and excel question

 
 
=?Utf-8?B?RS1DdWJl?=
Guest
Posts: n/a
 
      28th Mar 2005
Hello all,

Is there a way to simulate the CopyFromRecordSet method (it accepts DAO or
ADO recordset objects) from the office.excel.dll, so it can work with
datasets/datatables?

Thank you in Advance
E-cube


 
Reply With Quote
 
 
 
 
Paul Clement
Guest
Posts: n/a
 
      28th Mar 2005
On Mon, 28 Mar 2005 08:51:09 -0800, E-Cube <(E-Mail Removed)> wrote:

¤ Hello all,
¤
¤ Is there a way to simulate the CopyFromRecordSet method (it accepts DAO or
¤ ADO recordset objects) from the office.excel.dll, so it can work with
¤ datasets/datatables?
¤

There is no equivalent. The workaround is a little ugly and involves converting a Dataset to an ADO
Recordset using XML, before using it in CopyFromRecordset.:

How To Convert an ADO.NET DataSet to ADO Recordset in Visual Basic .NET
http://support.microsoft.com/default...b;en-us;316337


Paul
~~~~
Microsoft MVP (Visual Basic)
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Macro/VB Question DDE Question MadDog22 Microsoft Excel Discussion 13 12th Mar 2010 07:08 PM
Excel 2007 Macro/VB Question DDE Question MadDog22 Microsoft Excel Worksheet Functions 1 10th Mar 2010 01:47 AM
Excel 2007 Macro/VB Question DDE Question MADDOG22 Microsoft Excel Discussion 0 24th Feb 2010 02:23 AM
Math involved. Excel speed optimization question. UDF vs. longer excel equation Abe Microsoft Excel Programming 6 5th Jul 2006 03:17 PM
The question is an excel question that I need to figure out howto do in excel. Terry Microsoft Excel Worksheet Functions 3 23rd Jan 2006 06:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:33 AM.