Getting Started

Getting Started with Aspose.Cells for .NET

Welcome to the world of spreadsheet manipulation in your .NET applications! With Aspose.Cells for .NET, you can easily read and write Excel spreadsheets (.xls, .xlsx, .xlsm), OpenOffice Calc files (.ods) and HTML documents (.html).

In this guide, we’ll walk you through the steps to get started with Aspose.Cells for .NET. By the end of it, you’ll be able to begin working on your spreadsheet-related projects.

System Requirements

Before diving in, make sure you have:

  • A Windows machine (Windows 7 or later)
  • .NET Framework 4.0 or higher
  • Visual Studio (Visual Studio 2008 or higher)

Installation

To start using Aspose.Cells for .NET, follow these simple steps:

  1. Download the latest version of Aspose.Cells for .NET from our website.
  2. Install the DLL in your project by right-clicking on the “References” folder in Visual Studio and selecting “Add References…”.
  3. In the “.NET FrameWork Components window”, select the framework and click on “OK”.

Supported Formats

Aspose.Cells for .NET supports reading, writing and converting various spreadsheet formats including:

  • Excels (.xls, .xlsx)
  • OpenOffice Calc files (.ods)
  • HTML documents (.html)

You can easily create these file types using our class library.

Example Code

Get started quickly with the following sample code to load an Excel workbook and save a new Excel file:

using Aspose.Cells;

// Set up your workbook object
Workbook workbook = new Workbook("example.xlsx");

// Load data from another Excel file into this workbook
workbook.Load("data.xls", FileFormatType.Xlsws);

// Save the existing document into an HTMl file
workbook.Save("output.htm");
 English