I converted Excel (.xls) to PDF (.pdf). But i used GemBox.Spreadsheet.dll & wnvhtmlconvert.dll. It may help you.
using GemBox.Spreadsheet;
using Winnovative.WnvHtmlConvert;
public class PDFBuilder
{
private ExcelFile ef = null;
private string _saveHtmlLocation = "C:\\2.html";
private string _savePDFLocation = "C:\\1.pdf";
public PDFBuilder(string FilePath)
{
ef = new ExcelFile();
ef.LoadXls(FilePath);
ef.SaveHtml(_saveHtmlLocation, null, true);
PdfConverter pdfConverter = new PdfConverter();
pdfConverter.LicenseKey = "<insert your="" own="" license="" key="" here="">";
pdfConverter.PdfDocumentOptions.EmbedFonts = false;
pdfConverter.PdfDocumentOptions.ShowFooter = false;
pdfConverter.PdfDocumentOptions.ShowHeader = false;
pdfConverter.PdfDocumentOptions.GenerateSelectablePdf = true;
pdfConverter.SavePdfFromHtmlFileToFile(_saveHtmlLocation, _savePDFLocation);
}
}</insert>