Find the XML Error Log in Excel for Mac
Question details
Find the detailed log for a Table or Style error reported when opening an Excel 2004 XML spreadsheet in Excel for Mac.

- Product
- Microsoft Excel for Mac
- Device & OS
- macOS
- Scenario
- The user opens an Excel 2004 XML spreadsheet and needs more detail about a reported Table or Style error.
- Observed behavior
- Excel reports a Table or Style error when opening the XML spreadsheet.
Note the time of the error and the name of the XML spreadsheet so you can identify relevant log entries. Reproduce the error in Excel before checking the log folder.
Open the Excel for Mac logging folder
Use Finder or Terminal to look for Excel logs created around the time of the XML error.
In Finder, choose Go > Go to Folder, or press Shift-Command-G.
Paste ~/Library/Containers/com.microsoft.Excel/Data/Library/Caches/Microsoft/uls/com.microsoft.Excel/logs and press Return.
In the logs folder, sort by date modified and open a recent log in TextEdit. Search for the spreadsheet name, Table, Style, or the time of the error.

Check the generated XML and XSLT
Use this approach if the log points to the spreadsheet content or does not provide enough detail.
Work with spreadsheets using WPS Office for Mac
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for common Microsoft Office formats, making it easier to move existing documents. It does not repair Excel's logging or XML errors.

Frequently Asked Questions
Can I find the log folder using Terminal?
Yes. Open Terminal and run ls -lt ~/Library/Containers/com.microsoft.Excel/Data/Library/Caches/Microsoft/uls/com.microsoft.Excel/logs to list files in the folder by modification time.
What if Finder says the log folder cannot be found?
Check that the path was entered correctly in Finder's Go > Go to Folder dialog. The folder may not exist on your installation or may not have been created by Excel.
Does a Table or Style error always mean Excel is faulty?
No. The generated XML or the XSLT that produced it may contain the issue. Inspect the relevant Table and Style definitions and test a regenerated file.
Will the log always identify the exact XML error?
Not necessarily. Check entries around the time the file was opened, but the log may not contain a detailed error or a separate error-specific record.




