使用 Excel 內建的開發人員工具匯入 XML 檔案,將 XML 資料轉換為 Excel 表格。
Step 1
啟用 Excel 內建的開發人員工具列。
Step 2
在「開發人員」頁籤中,點選 XML 分類中的「匯入」。
![匯入 XML 匯入 XML](https://officeguide.cc/wp-content/uploads/2020/07/excel-read-xml-format-file-tutorial-examples-20200802-01.png)
選擇要匯入的 XML 檔案。
![匯入 XML 匯入 XML](https://officeguide.cc/wp-content/uploads/2020/07/excel-read-xml-format-file-tutorial-examples-20200802-02.png)
Step 4
若 XML 檔案中沒有指定參照的結構描述,Excel 則會自動產生,這裡點選「確定」即可。
![結構描述提示訊息 結構描述提示訊息](https://officeguide.cc/wp-content/uploads/2020/07/excel-read-xml-format-file-tutorial-examples-20200802-03.png)
Step 5
選擇從 XML 匯入的資料要放在哪裡,可以指定目前工作表的位置,或是直接新增一張新的工作表。
![選擇匯入資料放置位置 選擇匯入資料放置位置](https://officeguide.cc/wp-content/uploads/2020/07/excel-read-xml-format-file-tutorial-examples-20200802-04.png)
Step 6
匯入的 XML 資料會自動轉為一張表格,這樣就完成 XML 資料的匯入了。
![從 XML 檔案匯入的資料表格 從 XML 檔案匯入的資料表格](https://officeguide.cc/wp-content/uploads/2020/07/excel-read-xml-format-file-tutorial-examples-20200802-05.png)