I am trying to convert an 11 page Pdf document to excel and have the formatting work correctly. If anyone knows of an easy way to do this I would appreciate it.

Thank you,

Based on your past posts let's hope this is not about stillbon software. For me a PDF does not have much to get to Excel so a simple copy and paste is all I do then the work to make it into the spreadsheet I wanted. What more is there here?

Does the PDF have data in tabular format? You might have better luck opening it in Microsoft Word.

If you use C#, you can convert PDF to Excel in C# using Spire.XLS for .NET. Here is the entire code snippet for your reference.

using Spire.Pdf;

namespace ConvertPDFToExcel
{
    class Program
    {
        static void Main(string[] args)
        {
            //Create a PdfDocument instance
            PdfDocument pdf = new PdfDocument();
            //Load PDF file
            pdf.LoadFromFile("Shopping list.pdf");
            //Save to Excel
            pdf.SaveToFile("PDFToExcel.xlsx", FileFormat.XLSX);
        }
    }
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.