Skip to main content

The Xceed Workbooks of the Xceed Documents Libraries for .NET

Total Downloads
109.1K
109,149
Published
Sep 14, 2026
2mo ago

Get Started

dotnet add package Xceed.Workbooks.NET --version 3.0.26464.8460
ProductVersions
.NET
net5.0
Other
.NETFramework4.0

README

Xceed Workbooks for .NET – Spreadsheet Creation & Excel File Processing for .NET

Xceed.Workbooks.NET


NuGet NuGet Downloads GitHub License


Xceed Workbooks for .NET – Enterprise Spreadsheet & Excel Processing Library for .NET

Product Docs API Reference Blog Releases Support License


Overview

Xceed Workbooks for .NET is an enterprise-grade spreadsheet processing library for creating, editing, and managing Excel workbooks programmatically. Generate XLSX files, import CSV/TXT data, apply formatting, protect worksheets, and automate spreadsheet workflows without requiring Microsoft Excel or Office interop.

Build financial reports, ERP exports, analytics dashboards, and business intelligence systems with full control over spreadsheet structure, formatting, and protection. Cross-platform compatible with ASP.NET, cloud applications, and modern .NET solutions.

Trusted by Fortune 500 companies and .NET developers worldwide.

Key Features

Workbook Creation & Management

  • Create Excel workbooks from scratch
  • Load and edit existing XLSX files
  • Add, remove, rename, and reorder worksheets
  • Duplicate worksheet structures
  • Save and export workbooks programmatically
  • No Excel installation required

Cell & Data Management

  • Edit cell values directly
  • Apply spreadsheet formulas
  • Set cell data types
  • Handle number formatting
  • Merge and unmerge cells
  • Auto-size columns and rows

Spreadsheet Formatting

  • Apply fonts and text styling
  • Configure borders and colors
  • Set cell alignment and wrapping
  • Apply background fills and patterns
  • Customize row heights and column widths
  • Professional spreadsheet layouts

Worksheet Protection

  • Protect worksheets from editing
  • Lock and unlock specific cells
  • Restrict sheet operations
  • Preserve data integrity
  • Secure workbook structures
  • Enterprise-grade access control

Data Import & Export

  • Load XLSX files
  • Import CSV and TXT data
  • Export spreadsheets programmatically
  • Stream workbook data
  • Batch processing support
  • Large dataset handling

Advanced Features

  • Stream-based workbook processing
  • Memory-efficient operations
  • Parallel processing support
  • No temporary file dependencies
  • Cross-platform compatibility
  • Fully managed .NET code

Installation

NuGet Package Manager

dotnet add package Xceed.Workbooks.NET

Package Manager Console

Install-Package Xceed.Workbooks.NET

Quick Start

Create an Excel Workbook

using Xceed.Workbooks.NET;

// Create a new workbook
var workbook = new Workbook();

// Add a worksheet
var sheet = workbook.AddWorksheet("Sales");

// Set header values
sheet.Cells[0, 0].Value = "Product";
sheet.Cells[0, 1].Value = "Q1 Sales";
sheet.Cells[0, 2].Value = "Q2 Sales";
sheet.Cells[0, 3].Value = "Total";

// Set data values
sheet.Cells[1, 0].Value = "Widget A";
sheet.Cells[1, 1].Value = 1500;
sheet.Cells[1, 2].Value = 2000;
sheet.Cells[1, 3].Value = "=B2+C2";

// Auto-fit columns
sheet.Columns[0].AutoFit();
sheet.Columns[1].AutoFit();

// Save the workbook
workbook.Save("Sales.xlsx");

Apply Spreadsheet Formatting

using Xceed.Workbooks.NET;

// Create workbook
var workbook = new Workbook();
var sheet = workbook.AddWorksheet("Formatted");

// Add header
sheet.Cells[0, 0].Value = "Item";
sheet.Cells[0, 1].Value = "Price";

// Style the header row
sheet.Cells[0, 0].Style.Bold = true;
sheet.Cells[0, 0].Style.Fill.BackgroundColor = System.Drawing.Color.Orange;
sheet.Cells[0, 1].Style.Bold = true;
sheet.Cells[0, 1].Style.Fill.BackgroundColor = System.Drawing.Color.Orange;

// Add data
sheet.Cells[1, 0].Value = "Product 1";
sheet.Cells[1, 1].Value = 99.99;

workbook.Save("Formatted.xlsx");

Load and Edit Existing Workbook

using Xceed.Workbooks.NET;

// Load existing workbook
var workbook = Workbook.Load("Report.xlsx");

// Get first worksheet
var sheet = workbook.Worksheets[0];

// Update cell value
sheet.Cells[1, 1].Value = "Updated Value";

// Protect the worksheet
sheet.ProtectSheet("MyPassword");

// Save changes
workbook.Save("Report_Updated.xlsx");

Import CSV Data

using Xceed.Workbooks.NET;

// Create workbook
var workbook = new Workbook();

// Load CSV data
var sheet = workbook.AddWorksheet("Imported");
var csvData = System.IO.File.ReadAllLines("data.csv");

int row = 0;
foreach (var line in csvData)
{
    var columns = line.Split(',');
    for (int col = 0; col < columns.Length; col++)
    {
        sheet.Cells[row, col].Value = columns[col];
    }
    row++;
}

workbook.Save("Imported.xlsx");

Core Capabilities

Workbook Operations

Feature Supported
Create XLSX workbooks βœ“
Load existing files βœ“
Add worksheets βœ“
Remove worksheets βœ“
Rename worksheets βœ“
Reorder worksheets βœ“
Duplicate worksheets βœ“

Cell & Data Management

Feature Supported
Edit cell values βœ“
Apply formulas βœ“
Set data types βœ“
Number formatting βœ“
Merge cells βœ“
Unmerge cells βœ“
Auto-fit columns βœ“

Formatting & Styling

Feature Supported
Font styling (bold, italic, underline) βœ“
Font color and size βœ“
Background fills βœ“
Cell borders βœ“
Cell alignment βœ“
Text wrapping βœ“
Row and column sizing βœ“

Data Import/Export

Feature Supported
Load XLSX files βœ“
Import CSV data βœ“
Import TXT data βœ“
Export XLSX βœ“
Stream workbooks βœ“
Batch processing βœ“

Protection & Security

Feature Supported
Protect worksheets βœ“
Lock/unlock cells βœ“
Password protection βœ“
Restrict operations βœ“
Preserve integrity βœ“

Supported File Formats

Read & Write

Format Support
XLSX (Microsoft Excel) βœ“
CSV (Comma-separated values) βœ“
TXT (Tab-separated values) βœ“

Supported Frameworks

  • .NET Framework 4.6.1+
  • .NET Core 2.1+
  • .NET Standard 2.0+
  • .NET 5+
  • .NET 6+
  • .NET 7+
  • .NET 8+

Supported Platforms

  • Windows
  • Linux
  • macOS

Common Use Cases

  • Financial Reporting - Generate financial statements and reports
  • ERP Exports - Export enterprise data to spreadsheets
  • CRM Data Management - Extract and format customer data
  • Inventory Management - Track stock and create inventory reports
  • Analytics Dashboards - Build data visualization and summary spreadsheets
  • Invoice Generation - Create formatted invoice spreadsheets
  • Data Migration - Convert data between systems using spreadsheets
  • Business Intelligence - Generate BI reports and dashboards
  • Budget Planning - Create budgets and financial forecasts
  • Cloud Reporting - Generate reports in cloud-based applications

Free 45-Day Trial

Experience the full capabilities of Xceed Workbooks for .NET with a free 45-day trial. No credit card required.

Start Your Free Trial

Resources

Related Xceed Products

Document & Office Automation

File Transfer & Compression

UI Components

Getting Help

License

Xceed Workbooks for .NET is a commercial product with a free 45-day trial. Various license options are available for development and production use. See licensing information for details.


Product Docs API Reference Blog Releases Support License


Xceed Workbooks for .NET – Enterprise spreadsheet and Excel processing library for .NET applications.

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.