Here is an article about converting an excel file to PDF format using C#. The code uses this 3rd party .net component for excel, it has a free version and a straightforward api:

ExcelFile.Load("Sample.xlsx", LoadOptions.XlsxDefault)
            .Save("Sample.pdf", SaveOptions.PdfDefault);

I hope it suits you.