title: How to convert excel workbook to pdf without using excel interop library?
body: <p>I have an xlsx file that includes charts each in sheets. I want to save it as pdf file.</p>
  
  <p>I made a sample using excel.interop:</p>
  
  <pre><code>Application excelApplication = new Application();
  Workbook wkb = excelApplication.Workbooks.Open(oSlideMaster._FILE_PATH, 0, true, 5, "", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, 1, Microsoft.Office.Interop.Excel.XlCorruptLoad.xlNormalLoad);
  
  var basePath = HttpRuntime.AppDomainAppPath;
  wkb.ExportAsFixedFormat(XlFixedFormatType.xlTypePDF, ExportExcelToPdfFullPathWithoutExt);
  </code></pre>
  
  <p>This code works on visual studio but it doesnt work on server without ms office 2007 or higher version installed.</p>
  
  <p><strong>Question is:</strong></p>
  
  <p>How can i convert (FREE) excel to pdf(include charts) without using excel.interop library. Because i dont want to install ms office on server side.</p>
  
  <p>The point is that also:
  I tried some dll to convert excel to pdf, but i couldnt convert CHARTS only text i could convert successfully.</p>
  
  <p>Thanks.</p>
  
  <p>Download <a href="https://drive.google.com/file/d/0B7DEDs4UE0mqWVk5aHVhWkxlanc/view?pref=2&amp;pli=1" rel="noreferrer">file</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/VpeX9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VpeX9.png" alt="Sample excel data"></a></p>