We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

CellsException Invalid cell name


I get a CellsException "Invalid cell name" when I save a workbook to pdf.

var doc = new Workbook(tempFileName);

string tempFileNamePdf = tempFileName + “-TEMP-Generated.pdf”;
doc.Save(tempFileNamePdf, SaveFormat.Pdf);

We use Aspose.Cells.dll v7.3.3.0. I also attached the excel document causing this exception.

How can I fix this problem?

Thanks for help,



Thanks for the sample file.

After an initial test, I can notice the issue as you have mentioned. I got the exception:
CellsException: Invalid cell name
while converting the template file to PDF format.

I have logged a ticket with an id "CELLSNET-41392" for your issue. We will look into your issue soon.

Thank you.

Fine. In the mean time I found a dirty workaround. I can save the workbook in the old excel format:

string tempFileNameXls = tempFileName + "-TEMP-Generated.xls";
doc.Save(tempFileNameXls, SaveFormat.Excel97To2003);

Afterwards I can load the old formattet excel document and save it to pdf without the exception.

Still, please let me know if there is a proper solution for this problem.




I think you may not use the workaround as we will figure it out soon.

Please spare us some time as we already logged a ticket with an id “CELLSNET-41392” to fix it.

We will try to fix it soon.

Once we have any update on it, we will let you know here.

Thank you.


Thanks for your posting and using Aspose.Cells for .NET.

We have fixed this issue.

Please download and try this fix: Aspose.Cells for .NET (Latest Version) and let us know your feedback.


Thanks, it works.


Good to know that your issue is resolved by the new fix v7.4.0.3.

Feel free to contact us if have some other issue or have some other query.

We will help you soon.

Thank you.

The issues you have found earlier (filed as CELLSNET-41392) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.