Results 1 to 3 of 3

name of XML map

Threaded View

  1. #1
    Registered User
    Join Date
    04-07-2009
    Location
    Tokyo, Japan
    MS-Off Ver
    Excel for Mac (ver 16)
    Posts
    9

    name of XML map

    Hi,

    I have an excel sheet I made by opening a XML file using the "view source" option. From there I made a map and build a macro off that.

    What I want to do is convert it to allow the user to select which XML file to load into the map. I found the following code at technet
    Dim xmpCustomMap As XmlMap
    Set xmpCustomMap = ActiveWorkbook.XmlMaps("ROOT_Map")
    ActiveWorkbook.XmlImport URL:="S:\Path\to\file\153MTA.XML", ImportMap:=xmpCustomMap, Overwrite:=True
    However I'm not sure how to get the name of the XML map, referred to as ROOT_Map whan I made it "manually" by opening the file.

    Any ideas?

    Thanks,

    Nick


    EDIT: Here is the page to which I was referring... http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
    Last edited by nickTokyo; 04-13-2009 at 11:48 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1