
We will quickly convert the PDF document to Excel & XLSX file as it's online.Ĭonvert PDF to Excel: Convert your PDF to Excel documents(XLSX) with incredible accuracy.Ĭonvert Excel to PDF: Convert Excel to PDF, XLSX to PDF, Excel to PDF Select and upload the PDF file you need to convert in the PDF to Excel converter.

PDF file to XLSX documents and 100% free.

String TestFilePath = Path.Combine(, " TestFile.xls") Ĭonvert data from PDF invoice to Excel CSV file in C# using PDF Extractor SDK Workbook.Close(SaveChanges, Missing, Missing) Close the spreadsheet without saving changes Object SaveChanges = false Worksheet.PrintOut(Missing, Missing, Missing, Preview, " Universal Document Converter", Missing, Missing, Missing) Change active worksheet settings and print itĮxcel.Worksheet Worksheet = (Excel.Worksheet)Workbook.ActiveSheet Įxcel.PageSetup PageSetup = Worksheet.PageSetup CurrentCulture = new ( " en-US") Įxcel.Workbook Workbook = (ExcelFilePath, Missing, ReadOnly, Missing, Missing, Missing, Missing, Missing, Missing, Missing, Missing, Missing, Missing, Missing, Missing) Object Missing = Type.Missing // This will be passed when ever we don’t want to pass value // If you run an English version of Excel on a computer with the regional settings are configured for a non-English language, you must set the CultureInfo prior calling Excel methods. = PostProcessingModeID.PP_OPEN_FOLDER Įxcel.Application ExcelApp = new Excel.ApplicationClass() Use Universal Document Converter API to change settings of converterd document IUDCPrinter Printer = objUDC.get_Printers( " Universal Document Converter") Create a UDC object and get its interfaces Static void PrintExcelToPDF( string ExcelFilePath) Using Excel = // using Excel in VS2003 namespace ExcelToPDF XX is the Microsoft Office version installed on your computer. Add references to "Microsoft Excel XX.0 Object Library" and "Universal Document Converter Type Library" // using the Project | Add Reference menu > COM tab. Universal Document Converter 5.2 or above should be installed, too. Before using this example, please read this article from Microsoft Excel 2003 knowledge base: // // A workaround for this issue is available in this example. Microsoft Excel 97 or above should be installed and activated on your PC.

This example was designed for using in Microsoft Visual C# from // Microsoft Visual Studio 2003 or above.
