protobi / js-xlsx

XLSX / XLSM / XLSB (Excel 2007+ Spreadsheet) / ODS parser and writer
http://oss.sheetjs.com/js-xlsx
Other
831 stars 416 forks source link

while set cell type to number, exported excel files went wrong in microsoft excel #160

Closed Janet-wj closed 3 years ago

Janet-wj commented 3 years ago

I tried to add sheet[cell_ref].t = 'n' to set a cell's type to number . It worked out in WPS ,But it went wrong in microsoft excel .When opened in microsoft excel, an error mesage pop up saying "Something went wrong in xxx.xlsx, would you like to recovery it...."Is there any method to deal with this problem?

Janet-wj commented 3 years ago

resolved