Different
from the previous alternative, this is actually a valid option, and actually
used by companies like Google or Amazon to deliver reports, but it is not
without its own gotchas too.
a) Use CSV.
While the obvious issue with CSV is that it
doesn't support any formatting,
or images, or charts, or well, anything but raw data, there is a more subtle
issue too. Many countries (I would say most non English ones, but I might be
wrong) use a “,” and not a “.” as decimal separator. This means they can't use
“,” as field separator, and they use something else instead. (We use “;” in
Spanish). And this means that when I open my Amazon s3 reports I get all my
data in the first column as a big string. Not nice, let me tell you. I
personally was so annoyed with it that created a small application using FlexCel
to convert those reports into nice formatted ones, but I don't think normal
users should be expected to do that. So if
you need to go csv, consider going tsv instead. Tab separated
spreadsheets will load better in any locale, even when not 100% perfect. If you
have any floating number like “2.5” in your file a Spanish Excel will still load
it wrong (it won't be converted to the number “2,5”), but at least it will be
imported as a string in its own column.
b)Use WK1 or older Excel files.
I wouldn't go
that way, simply because Microsoft
is stopping support for those older file formats, and I can understand their reasons.
So again, after you spend a couple of
months and a couple thousand dollars programming your own wk1 exporter, you
might find that Excel 2007 users (or Excel 2003 users with the latest service
pack) are not able to read them.
c)For word, use RTF.
Well, I can't actually
comment on this one because I mainly work with Excel, so as a good cobbler I
will stick to my last. It might be a valid workaround, if you don't care for
larger files especially when you embed images in it.