I am trying to have Excel import 200 .xml files into separate worksheets. I have some code that creates new worksheets, and that works. However I can't seem to find the proper code to import an .xml file into a worksheet rather then a workbook. I was hoping:
Workbooks.Worksheets.OpenXML
would work, but alas.
Is there a way to do this, or should I import them into a new workbook, copy that worksheet, close the newly created workbook without saving and so on?
For those interested: I found the quick and dirty method on this site as well: How to fetch data from XML file to Excel sheet using VBA