- Code: Select all
workbook.SaveToFile('xx.pdf', FileFormat.PDF);
I use the FreeSpire.XLS version will get the error message: 'xr2' is an undeclared prefix.
I found the Spire.XLS will not get this error message.
how could I fix this error?
ps. this excel file is generated from EXCEL 2016.