Mamba B. wrote in post #1033268:
I need to create a excel sheet(.xls or .xlsx).
puts “File EXISTS”
puts “-------FILE CREATED--------”
It creates an excel file(test.xls), but when I try to open the file I
get an alert box as shown in the attachment.
I working on Windows 7, MS Office 2007
You should look at axlsx and act_as_xlsx
It supports ruby 1.8.7 - 1.9.3, is fully documented and supports much
more that spreadsheet does.
or if you are building a rails app:
The examples in the README will show you how to do it.
It requires rmagick to automatically format column widths so be sure to