I’m using the ‘spreadsheet’ gem to generate a number of invoices
In itself that works great, but when I come to print the files I have
generated I get the error message “Microsoft Excel did not find anything
Has anyone else run up against this problem and does anyone know how to
get round it.
Oh, and by the way, I also generated a one cell Excel file thus:
Spreadsheet.client_encoding = ‘UTF-8’
book = Spreadsheet::Workbook.new
sheet1 = book.create_worksheet
sheet1[0,0] = ‘Hello’
book.write ‘C:/Dokumente und Einstellungen/Jim/Desktop/new.xls’
and still had the same problem.
This was just to check I hadn’t done something weird in my code.