Free Support Forum -

Excel can't be converted into PDF


We just integrated new purchased 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, error message is like: the same name worksheet already exists.

Please advise on this, thanks in advance.

Please try this attached version.