Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using XmlImport/Export Fucntions for excel

All the functions for importing/exporting xml from/into an excel sheet that
have an "out" variable as an argument are throwing COM exceptions.

for example:
Globals.ThisWorkbook.XmlImport(("F:\\temp\\aa.xml" ), out map, missing,
missing) is not working but
map.Import("F:\\temp\\aa-2.xml", missing) is working

Similarly:
map.ExportXml(out xmlString) is not working but
map.Export("F:\\temp\\result.xml", overwrite) is working

Here is the exception: {"Type mismatch. (Exception from HRESULT: 0x80020005
(DISP_E_TYPEMISMATCH))"}

any thoughts??
Reply
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
How to use Ara and ARP fucntions on Ms Excel? ANJAN Excel Worksheet Functions 7 April 4th 23 11:30 AM
XMLImport problem Bullet Excel Discussion (Misc queries) 1 November 30th 10 12:28 AM
XmlImport Problem in Excel 2007 ROHAN Excel Discussion (Misc queries) 0 October 11th 08 01:54 PM
Array fucntions Gregory OUSTED Excel Worksheet Functions 1 December 16th 07 11:06 PM
List workset fucntions Jan Kronsell[_3_] Excel Programming 3 April 24th 05 02:06 PM


All times are GMT +1. The time now is 02:13 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"