Free Support Forum - aspose.com

Excel crashes opening sheet with VBA

I’m trying to open a spreadsheet that has VBA code in it and save it as a new name. For right now, I’m not doing anything at all to the sheet, just saving:

Aspose.Excel.Excel excel = new Excel();
excel.Open(@“C:\temp\source.xls”);
excel.Save(@“C:\temp\dest.xls”);

When I open the resultant sheet with Excel, Excel crashes.

The VBA code is just a simple function that returns a string.

Any thoughts?

Please download the latest hotfix at http://www.aspose.com/Products/Aspose.Excel/Downloads.html and have a try.

If the problem still occurs, please send me your source.xls file. Thank you.

Thanks Laurence. I had already installed the latest hotfix. I’m still having the problem, so I’ve sent you the source.xls spreadsheet. The spreadsheet is very very simple.

Thanks for your help.

Hi Andy,

Please download and try v2.8.6. It’s fixed.