LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default ADO Recordset to Excel 2007 Worksheet Cell Values via XML

Given that Office 2007 has messed up some of the nicer ways to transfer query
results from Access to Excel, has anyone worked out a way to take an ADO
recordset in Access and convert it into the proper XML format to be written
to the XML file that holds the worksheet values in Excel 2007?

This has to be done in VBA and while Jan Karel Pieterse tells how to do a
lot of the footwork at

http://www.jkp-ads.com/Articles/Exce...leFormat02.asp

I'm wondering if there is an elegant/efficient way to convert the ADO
recordset into the kind of XML that Excel can accept. There are hints that
the recordset can be saved into a DOMDocument, but no information on how to
get it into the right format.

There is a refererence on how to do this in VB.Net at

http://support.microsoft.com/kb/319180

but that's way beyond me...

Anyone done this before?

James
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Protecting a range or cell in a worksheet Excel 2007 life4paws Excel Programming 1 July 26th 09 06:25 AM
Excel 2007 - referencing a cell value from another worksheet withi crisg Excel Discussion (Misc queries) 7 February 9th 09 10:24 PM
Recordset from excel worksheet Damien McBain[_3_] Excel Programming 4 March 8th 07 08:35 AM
Repost! Excel multiple worksheet populate from recordset B[_3_] Excel Programming 1 November 6th 04 10:56 AM
Help! Excel multiple worksheet populate from recordset B[_3_] Excel Programming 1 November 5th 04 09:59 AM


All times are GMT +1. The time now is 06:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"