You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p = Axlsx::Package.new
wb = p.workbook
wb.add_worksheet(name: "Data") do |sheet|
....
end
dir_tmp = File.join(Rails.root, 'tmp')
FileUtils.mkdir_p(dir_tmp)
file_name_xls = "data.xlsx"
file_save_tmp = "#{dir_tmp}/#{file_name_xls}"
p.serialize(file_save_tmp) => got exception at this line
Plz help me fix it.
The text was updated successfully, but these errors were encountered:
Hi there,
I use the axlsx lib to write to xls file but got an error
Here is my environment:
Here is my code logic:
The text was updated successfully, but these errors were encountered: