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

Free Support Forum - aspose.com

Excel can't be converted into PDF


We just integrated new purchased Aspose.total dll into our system, but one of our excel can't be converted into pdf, the excel file is as attached.

My code like:

workbook = New Aspose.Cells.Workbook


strFileName = Path.GetFileName(strInputFilename)

strFileName = strFileName.Substring(0, strFileName.LastIndexOf(".")) & ".xml"

workbook.Save(strServerPath & strFileName, Aspose.Cells.FileFormatType.AsposePdf)

pdf.BindXML(strServerPath & strFileName, Nothing)

The error is given at workbook.open(), error message is like: the same name worksheet already exists.

Please advise on this, thanks in advance.

Please try this attached version.