How to import multiple xml file into excel

Anonymous
2012-09-13T00:07:12+00:00

I have a lot of xml files which need to be imported into single excel file. I can able to import one by one but cannot select all at a time to import.

Is it possible to do through batch process or any other process?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

66 additional answers

Sort by: Oldest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2014-02-04T07:09:10+00:00

    Thanks a lot surath!!! I still have a problem !!!!!

    i typed the code in an excel macro enabled spread sheet, in an inserted  module in sheet1 (developer visual basic)....

    after i run the code i found the sheet1 to contain several copies of records of the one xml file only in cells (data replicated). i had four xml files in the folder but actually found more replicated cells.... of one xml file.

    This is what my xml file looks like......

    <?xml version="1.0" encoding="UTF-8"?><project>

    <id>4cbcaeaa-398b-4ccf-8a8a-40ad4eae01b9-1</id>

    <lastModified>2014-02-03 06:24:44</lastModified>

    <label>motorvehicleacc</label>

    <participantsIds>

    <string>cfdabbd1-860e-423b-bcf3-1b05b856cf0d</string>

    </participantsIds>

    <adminsIds>

    <string>cfdabbd1-860e-423b-bcf3-1b05b856cf0d</string>

    </adminsIds>

    <productOwnersIds>

    <string>cfdabbd1-860e-423b-bcf3-1b05b856cf0d</string>

    </productOwnersIds>

    <scrumMastersIds>

    <string>cfdabbd1-860e-423b-bcf3-1b05b856cf0d</string>

    </scrumMastersIds>

    <teamMembersIds>

    <string>cfdabbd1-860e-423b-bcf3-1b05b856cf0d</string>

    </teamMembersIds>

    <currentSprintId>b230844f-f0ee-4927-9406-43ce8d6932cd</currentSprintId>

    <nextSprintId>7f228b2f-b620-43a4-a197-501abbecfa33</nextSprintId>

    <requirementsOrderIds/>

    <urgentIssuesOrderIds/>

    <lastSprintNumber>2</lastSprintNumber>

    <lastTaskNumber>0</lastTaskNumber>

    <lastRequirementNumber>0</lastRequirementNumber>

    <lastQualityNumber>0</lastQualityNumber>

    <lastRiskNumber>0</lastRiskNumber>

    <lastIssueNumber>1</lastIssueNumber>

    <lastImpedimentNumber>0</lastImpedimentNumber>

    <lastFileNumber>0</lastFileNumber>

    <lastSubjectNumber>0</lastSubjectNumber>

    <lastEventNumber>0</lastEventNumber>

    <lastReleaseNumber>0</lastReleaseNumber>

    <lastBlogEntryNumber>0</lastBlogEntryNumber>

    <punishmentUnit>EUR</punishmentUnit>

    <punishmentFactor>1</punishmentFactor>

    <autoUpdateHomepage>false</autoUpdateHomepage>

    <issueReplyTemplate>Hello ${issuer.name},

    thank you very much for your feedback.

    Your issue is now known as ${issue.reference}. You can view it on our homepage: ${homepage.url}/${issue.reference}.html

    </issueReplyTemplate>

    <subscriberNotificationTemplate>Hello,

    there is news on an entity you are subscribed to:

    ${entity.reference} ${entity.label}

    ${homepage.url}/${entity.reference}.html

    ${change.message}


    Unsubscribe from ${entity.reference}: ${unsubscribe.url}

    Unsubscribe from all entities: ${unsubscribeall.url}

    </subscriberNotificationTemplate>

    <lastOpenedDateAndTime>2014-02-03 06:24:44</lastOpenedDateAndTime>

    <freeDays>0</freeDays>

    <autoCreateTasksFromQualities>false</autoCreateTasksFromQualities>

    </project>

    Thanks once again

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2014-02-12T13:17:50+00:00

    Hello JIMZCE,

    Thank you for your reply.

    Here is  some step you can perform. please let me know the result.

    if u are using Excel 2007 or 2010

    Step : Click on Data from ribbon > From other sources > from XML data import > navigate to your .xml file and click on open. >ok >ok

    this is the manual way to import a .xml file.

    if it work for you then the macro should work.

    please reply me with results. :)

    Was this answer helpful?

    0 comments No comments