in reply to Re: old style xls module
in thread old style xls module

You could also just generate a CSV file. That works fine in lots of versions of Excel. :)

And as an extra bonus, the users are not locked in to Excel, but could also use other spreadsheet applications. On the other hand, most of them can read Excel files, more or less.

One quite obvious difference between XLS(X) and CSV is that you can not add any formatting to CSV. You simply can not make one row bold or a column green, or a cell contain a big fat warning. For that, you need one of the Excel formats, or generate HTML and perhaps a style sheet. Of course, importing HTML into Excel is a completely different problem.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^3: old style xls module
by Tux (Canon) on Aug 07, 2018 at 19:27 UTC

    Other advantages of XLS/XLSX/ODS over CSV:

    • Multiple sheets
    • Multiple encodings (CSV has no official support for encodings at all, unless you use a BOM which breaks many parsers)
    • Comments and notes
    • Hiding columns and/or rows
    • Happy managers

    Enjoy, Have FUN! H.Merijn