I have a excel file with extension .xlsm and the file contains Maros with "VBA Code"
I can open the file, Edit, then close it with no Issues
here is the code:
- Code: Select all
xlWorkBook = new Workbook();
xlWorkBook.LoadFromFile(filePath);
xlWorkBook.CalculateAllValue();
xlWorkBook.Save();
xlWorkBook.Dispose();
If I try to upgraded Spire.xls version to "12.11.3" without changing a single line of code, All the Maros "VBA Code" get deleted after save,
this issue exsits since Spire.XSL Version 10.11.2 and until the latest version