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

Free Support Forum - aspose.com

How to convert a PDF to Excel using Aspose.Cells or Aspose.Pdf

I downloaded Aspose.Cells Trial and trying to open a pdf and save it as Excel. Sample code below


Workbook book = new Workbook();
book.Open(@“d:\ecash.pdf”, FileFormatType.Pdf);
book.Save(@“d:\ecash.xls”, FileFormatType.Excel97To2003);

I get the error below.

Aspose.Cells.CellsException was unhandled
Message=This file’s format is not supported or you don’t specify a correct format.
Source=Aspose.Cells

can you open a PDF and convert it to excel using Aspose.Cells? If not which product should i be using?

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Well, I am afraid Aspose.Cells does not support to convert Pdf documents to Excel workbooks. You can use it to convert your Excel files to Pdf documentations.

Sorry for the inconvenience,