How to convert all files to a single XLS file in C# and .NET

  1. Add SautinSoft.Document from Nuget.
  2. Add SautinSoft.PdfFocus from Nuget.
  3. Convert all RTF, DOCX, PDF files into a single PDF document.
  4. Convert the PDF to Excel workbook.

This example shows how to convert all files (.pdf, .docx, .rtf) located in the same directory in a single XLS workbook file.

Convert to XLS

Download the resulting file: Result-Single.xls

Complete code