Free Support Forum -

Converting Excel Files

Will aspose pdf allow you to convert files into the PDF format? If so what types of files?

We are working on the feature to convert xls file to pdf file. Aspose.Excel will create xml file which can be imported by Aspose.Pdf to generate pdf file.

Aspose.Excel is replaced with Aspose.Cells and is discarded now. You can convert Excel file to PDF using the latest version Aspose.Cells. You can directly convert Excel file to PDF as well as perform advanced actions for this conversion like saving workbook to PDF/A compliant format, set the PDF creation time, set ContentCopyForAccessibility option and export custom properties to PDF. Here is an example which can be used to convert a workbook to PDF.

// For complete examples and data files, please go to

// Instantiate new workbook
Workbook workbook = new Workbook();

// Insert a value into the A1 cell in the first worksheet
workbook.Worksheets[0].Cells[0, 0].PutValue("Testing PDF/A");

// Define PdfSaveOptions
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();

// Set the compliance type
pdfSaveOptions.Compliance = PdfCompliance.PdfA1b;

// Save the file
workbook.Save("output.pdf", pdfSaveOptions);

You may refer to the following article for more information about hiding worksheet:
Convert Excel workbook to PDF

For free trial version of this product refer to the following link:
Aspose.Cells for .NET (Latest Version)

Here is the link to a complete solution which can be used to test different features of this product without any effort.