LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
IoM IoM is offline
external usenet poster
 
Posts: 4
Default Record macro to export xml

I recorded a macro with 3 steps:
1. add an Xml Map to the curent workbook and choose root of the Map
2. map cells in excel file to the coresponding fields in the Map
3. export Xml data

The error I got is: €śThe map could not be exported, so the data was not
exported€ť
The problem is that step 2 is not recorded. There are no lines of code to
map the excel cells to the specified XmlMap so the map can not be exported.
How to write the code?

My xml schema has
a root €“ a list €“ 2 elements: T and O
and excel has 2 columns: T and O. The two elements should be mapped to the
excel cells.

Obs.: if I repeat these steps manually it works but if I register the macro
I get error.

 
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
Export Single Record to Append to Access Table RMS Excel Discussion (Misc queries) 1 December 9th 08 07:08 PM
Export Access Record to Specific Cells in Excel Elecdave Excel Discussion (Misc queries) 0 December 29th 04 04:49 PM
Record Macro - Record custom user actions Sal[_4_] Excel Programming 1 December 23rd 04 03:18 PM
Export CSV; first three rows contain record map DW[_3_] Excel Programming 1 November 29th 04 07:18 PM
how to count/sum by function/macro to get the number of record to do copy/paste in macro tango Excel Programming 1 October 15th 04 01:16 PM


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