Solved

Import Filename with XML data in Excel

Posted on 2014-12-01
2
164 Views
Last Modified: 2014-12-02
I have 1000's of XML files that I can import into a single Excel 2007 sheet.  The problem is that the file name is the unique identifier and I need to import this together with the XML data.  I have attached the XMLImport.xlsm which has the code to import multiple XML files.  The part which is missing is the file name.  Any assistance would be greatly appreciated.
XMLImport.xlsm
135878.xml
985658.xml
0
Comment
Question by:Karmile
2 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40475415
Nice coding!

Just three extra lines needed - I have marked them with 'NEW
XMLImportWithFileName.xlsm
0
 

Author Comment

by:Karmile
ID: 40475572
Perfect!  Thank you Phillip.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now