+ Reply to Thread
Results 1 to 1 of 1

I would like to convert excel data to xml in the following format

  1. #1
    Registered User
    Join Date
    09-13-2014
    Location
    HK
    MS-Off Ver
    2010
    Posts
    2

    Unhappy I would like to convert excel data to xml in the following format

    More specific, I want to export excel to the format of xml to be like this:

    Anyone would kindly help me. I am struggling

    <?xml version="1.0" encoding="UTF-8"?>
    <root>
    <listbox1 value='handtools'>
    <opt>Spanners</opt>
    <opt>Screwdrivers</opt>
    <opt>Chisels</opt>
    </listbox1>

    <listbox1 value='powertools'>
    <opt></opt>
    <opt>Drills</opt>
    <opt>Grinders</opt>
    <opt>Jigsaws</opt>
    </listbox1>

    <listbox2 value='Drills' listbox1='powertools'>
    <opt>Pillar Drills</opt>
    <opt>Corded Drills</opt>
    <opt>Cordless Drills</opt>
    <opt>SDS Drills</opt>
    </listbox2>
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: I would like to convert excel data to xml in the following format

    Where are the listboxes?
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 01-12-2014, 11:08 PM
  2. Replies: 0
    Last Post: 01-19-2012, 09:12 PM
  3. Excel : Convert data in column to limited row (time and date format)
    By hooi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2011, 07:21 PM
  4. Replies: 2
    Last Post: 05-24-2008, 06:33 AM
  5. How do I convert word data (not in tables) into excel format?
    By resret29 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2005, 09:05 PM

Tags for this Thread

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