LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default XML mapping in Excel

Hi Stu,

I have hundreds of existing spreadsheets that I want to gather into a DB.
Basically it is a form that project managers fill out and return with info on
their projects. I created a schema and mapped elements to cells on one of the
existing forms. This worked great when I imported the XML in Access. However
I discovered that when I import the schema into another spreadsheet the map
does not follow and I have to map every cell again in every one of those
hundreds of spreadsheets. Is there a way to automate this or to apply a map
to the other spreadsheets?


All Excel 2003'2 XML functionality has been exposed in the object model, so yes,
you can automate the mapping of a workbook. However, it raises that question of
why you'd want to. As you would have to open every workbook to do it, and
identify all the cells to map, it'd probably be easier to just write their
values to the Access database, rather then mapping them, exporting the XML and
importing it.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.oaltd.co.uk


 
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 Excel 2007 as a Cause Mapping tool? operator[_2_] Excel Discussion (Misc queries) 2 August 10th 09 10:25 PM
XML Mapping in Excel 2007 smithclay Excel Discussion (Misc queries) 0 August 8th 07 09:04 PM
mapping with excel silvarisbrett Excel Worksheet Functions 1 July 14th 05 11:31 PM
Mapping feature in Excel Sandi Rush Excel Discussion (Misc queries) 0 January 14th 05 10:20 PM
Mapping in Excel Programming Neelima Excel Programming 1 May 22nd 04 05:10 PM


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