+ Reply to Thread
Results 1 to 7 of 7

Reading XML file using VBA

  1. #1
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Reading XML file using VBA

    Hi,

    I want to read a particular part of an XMl file into Excel using VBA.
    So far I have managed to load the XML file using this code:

    Hi,

    I am trying to extract certain data from a XML file using Excel VBA.

    So far, I have managed to load the file using this code:


    Please Login or Register  to view this content.

    I now want to extract the section highlighted in yellow in my attachment (please see attachment).
    How do I get that part?
    Attached Images Attached Images

  2. #2
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Re: Reading XML file using VBA

    Hi,

    Is there anyone out there that knows how to read XML files using VBA?

    Thank You

  3. #3
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Reading XML file using VBA

    Hi,

    Can you attach the xml file? Thank you!

  4. #4
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Re: Reading XML file using VBA

    It is the file attached to the very first message.

  5. #5
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Reading XML file using VBA

    Hi,

    You attached an image of the xml file, can you attach the actual xml file?

  6. #6
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Re: Reading XML file using VBA

    Oh, silly me.
    Ok, I don't have that file with me right now, but will it attach next week when i'm at work.
    thank you.

  7. #7
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Reading XML file using VBA

    So a rough attempt looking at your image file :D

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Attached Files Attached Files

+ 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. [SOLVED] reading contents of a file without opening the file using INDIRECT function
    By luv2glyd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-22-2013, 01:55 PM
  2. Reading a Text File
    By SDruley in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-29-2010, 03:49 AM
  3. Help reading .txt file
    By te$La in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2007, 11:38 PM
  4. [SOLVED] reading txt file and copying the lines in new excel file
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2006, 02:25 PM
  5. [SOLVED] reading data from 2nd file in 1st file using Combobox
    By Darius in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-22-2005, 12:05 PM
  6. [SOLVED] 52 Bad file name or number - when reading file from FTP
    By Olle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-03-2005, 04:05 AM
  7. [SOLVED] reading from text file to excel file
    By dgoel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-18-2005, 03:06 PM
  8. Reading a zip file
    By big t in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2005, 11:59 AM

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