Convert Excel (XLSX, XLS) to PDF in C# and VB.NET with the GemBox.Spreadsheet component.

GemBox.Spreadsheet is a C# / VB.NET component that provides a simple and efficient way to read, write, convert, and print native Microsoft Excel (XLSX, XLS) and other spreadsheet (ODS, CSV) formats and various document formats (HTML, PDF, XPS) from .NET applications without the need for Microsoft Excel on either the developer or client machines.
GemBox.Spreadsheet Free is free of charge, while GemBox.Spreadsheet Professional is a commercial version that is licensed per developer.
For more information, see GemBox.Spreadsheet Features or try our examples.

Following example converts an Excel file (XLSX) to PDF format.

C# code

// Convert Excel (XLSX) to PDF.

VB.NET code

' Convert Excel (XLSX) to PDF.