I have an issue if i save an Excel file with Pivot Table and Slicers.
When i try to open "Sample-Spire.xlsm" with Excel, i have a message "Sorry ... We found a problem with the content of "Sample-Spire.xlsm", ... ",
And Slicer are missing !
- Code: Select all
var workbook = new Workbook();
workbook.LoadFromFile("...Sample.xlsm");
// Test 1
workbook.Save();
// Test 2
workbook.SaveToFile("...Sample-Spire.xlsm", ExcelVersion.Version2013);
I have make 2 test:
Test 1 : simple save (in same file)
Test 2 : Save in other file with Excel Version
But i have the same result.
Do you have a solution ?
I use Spire.xls_7.12.27
Thanks