+ Reply to Thread
Results 1 to 6 of 6

Importing multiple XML files in one go

  1. #1
    Registered User
    Join Date
    01-08-2018
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    13

    Importing multiple XML files in one go

    Hi there

    Ive just started using Excel 2016 and I am much impressed with it so far but I'm in need of some help and advice.

    I have an epos system that allows me to export all of our shop sales using XML format. I want to be able to import all our sales month by month and use a pivot table to show the data to see any trends etc.

    What I have done for the first year of sales is to export the sales month by month from the till to an XML file then import each file one at a time into a different workbook then copy+paste the data to a workbook that will hold all the years data.

    I have found that if I try to add another XML file to the first one it overwrites the first import, that is why I use a new workbook for each import.

    What I want to be able to do is append each import of data to the previous one, or import all 12 files at once. Is there a way to do this?

    Thank you

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Importing multiple XML files in one go

    Maybe try: New Query - From Folder (where XML files are)

  3. #3
    Registered User
    Join Date
    01-08-2018
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    13

    Re: Importing multiple XML files in one go

    Thank you.

    I'm unable to select more than one file.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Importing multiple XML files in one go

    Put all xmls into one folder then try Data -NewQuery - From File - From folder (not from file). Excel should be able to import all files from this foilder by itself

    you should see something like this

    xmlfiles.jpg

    then something like this:

    binary.jpg

    all depends of what your xmls contain
    Last edited by sandy666; 02-13-2018 at 02:58 PM.

  5. #5
    Registered User
    Join Date
    01-08-2018
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    13

    Re: Importing multiple XML files in one go

    Thanks sandy666. I didn't see the folder option first time round. All imported now.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Importing multiple XML files in one go

    You are welcome

    so...
    If that takes care of your original question, & to say Thanks, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
    then select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.

+ 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. importing multiple. dat files
    By georgeldimenjr in forum Excel General
    Replies: 0
    Last Post: 11-11-2015, 08:00 PM
  2. Importing multiple txt files
    By cesar.crivelli in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-25-2013, 09:40 PM
  3. Replies: 0
    Last Post: 11-27-2012, 01:43 PM
  4. Importing multiple .txt files
    By dominiquetrix in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-02-2010, 02:35 AM
  5. Importing multiple .txt files
    By awdms6 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2010, 05:55 PM
  6. Importing multiple files
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-20-2006, 02:15 PM
  7. Importing multiple files
    By schnett in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2006, 12:09 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