Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Like the article says though, that's XML that Excel will read rather than actually being an XLS file, which means that it might only work in Excel and not other programs that read spreadsheets. But it's probably better than the equivalent HTML table answers here!
    – Rup
    Commented Jul 23, 2015 at 9:39
  • Supports xlsx ? OpenXML ?
    – Kiquenet
    Commented Dec 8, 2020 at 17:54
  • The type it's Open XML but you can only write a .xls file and works perfectly. Take care with the blank spaces in the tags. Use my code refactored below. Commented Dec 8, 2020 at 20:22