Back to Devexpress

Get Started - Create and Export an Excel File

officefileapi-15072-spreadsheet-document-api-getting-started.md

latest1.6 KB
Original Source

Get Started - Create and Export an Excel File

  • May 07, 2025
  • 6 minutes to read

Important

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use these examples in production code.

This article describes how to get started with the non-visual Spreadsheet component for .NET and .NET Framework.

Create a .NET Application

  1. Start Visual Studio and create a new Console Application project.

  2. Install the DevExpress.Document.Processor NuGet package.

  3. Open the Program.cs (Module1.vb) file. Paste the code below in the Main method of the Program class ( Main procedure of the Module1 module in Visual Basic).

  4. Run the project.

Create a .NET Framework Application

  1. Start Visual Studio and create a new Console Application (.NET Framework) project.

  2. Install the DevExpress.Document.Processor NuGet package or add references to the following libraries (if you have the DevExpress Unified Component Installer installed on your machine):

  3. Open the Program.cs (Module1.vb) file. Paste the code below in the Main method of the Program class ( Main procedure of the Module1 module in Visual Basic).

  4. Run the project.

See Also

Spreadsheet Document API Examples