+ Reply to Thread
Results 1 to 3 of 3

How to extract data from an XML file?

  1. #1
    Registered User
    Join Date
    02-06-2019
    Location
    Bangalore, India
    MS-Off Ver
    MS Office 2013
    Posts
    9

    How to extract data from an XML file?

    Is there any way to get an line from a XML file to Excel. I know some common words of the file (for now say the line has the world "hello" in it), which appears only in this line.


    Is there some method to find the line and copy it to my Excel sheet?

    Thanks for your consideration in advance.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,237

    Re: How to extract data from an XML file?

    Do you have Power Query?

    Data > Get Data > From File ... > XML

    Installing the PQ add-in: https://www.youtube.com/watch?v=gwW2CDdvUUs&app=desktop
    Last edited by AliGW; 02-19-2019 at 08:14 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: How to extract data from an XML file?

    As an alternative, node values can be fetched from XML files by VBA.

    But; without knowing what the XML file looks like, a standart code cannot be prepared.

    .

+ 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. Extract data from multi users file in a single file
    By rajeev.raj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2019, 12:54 PM
  2. Help building a macro to extract data from one file into another different file
    By awbrownicm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-23-2014, 07:56 PM
  3. extract data to a txt file
    By AnnickW in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-15-2013, 12:13 PM
  4. [SOLVED] Wanted to extract data from a file which is already an excel macro file
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2013, 11:43 AM
  5. How to extract Information from an Excel File and entering those data in a text file?
    By bikash.nitk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2012, 12:13 PM
  6. Replies: 1
    Last Post: 07-31-2011, 08:24 PM
  7. Extract data from xml file
    By ymeyaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2006, 01:50 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