Displaying 1 result from an estimated 1 matches for "number_format".
2008 Nov 04
0
Hi Everyone
...39;'spreadsheet/excel''
require ''spreadsheet''
i used to format the excel sheet
wb = Spreadsheet::Excel.new(path) # creates the Excel sheet
ws = wb.add_worksheet("employee") # creates the work sheet
and i defined the format as the
f5 = Format.new(:number_format => "#,###,##0.00")
then it is generating the error as
Error : uninitialized constant GenerateExcelSheet::Format
then i kept as Spreadsheet::Format.new()
then the :bold,:num_format and some fields are not working
it is throwing the errror as
Error in GenerateExcelSheet undefin...