Convert EXCEL to WORD via C#

Export Excel® EXCEL to WORD on .NET Framework, .NET Core, Mono or Xamarin Platforms

EXCEL to WORD Conversion on .NET

  1. Open EXCEL file using Workbook class
  2. Convert EXCEL to PDF and set SaveFormat to Auto
  3. Load the converted PDF file using Document class
  4. Save the document to DOC format using Save method and set Doc as SaveFormat

Get Started with .NET Total API

Install from command line as nuget install Aspose.Total or via Package Manager Console of Visual Studio with Install-Package Aspose.Total.

Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .

.NET C# Code for EXCEL to WORD Conversion

var book = new Aspose.Cells.Workbook("input.csv");
// save EXCEL as PDF
book.Save("pdfOutput.pdf", Aspose.Cells.SaveFormat.Auto); 
// load the PDF file using Document class
var document = new Aspose.Pdf.Document("pdfOutput.pdf");
// save document in DOC format
document.Save("output.doc", SaveFormat.Doc); 

CSV What is CSV File Format?

Files with .csv (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Each line in a CSV file is a new record from the set of records contained in the file. Such files are generated when data transfer is intended from one storage system to another. Since all applications can recognize records separated by comma, import of such data files to database is done very conveniently. Almost all spreadsheet applications such as Microsoft Excel or OpenOffice Calc can import CSV without much effort. Data imported from such files is arranged in cells of a spreadsheet for representation to user.

Read More

DOC What is DOC File Format?

Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. The extension was initially used for plain text documentation on several different operating systems. It can contain several different types of data such as images, formatted as well as plain text, graphs, charts, embedded objects, links, pages, page formatting, print settings and a lot others.

Read More

Other Conversion Options

CSV TO DOCX (Office 2007+ Word Document)
CSV TO PPTX (Open XML presentation Format)
CSV TO DOC (Microsoft Word Binary Format)