FileFormat.Cells
24.10.1
dotnet add package FileFormat.Cells --version 24.10.1
NuGet\Install-Package FileFormat.Cells -Version 24.10.1
<PackageReference Include="FileFormat.Cells" Version="24.10.1" />
paket add FileFormat.Cells --version 24.10.1
#r "nuget: FileFormat.Cells, 24.10.1"
// Install FileFormat.Cells as a Cake Addin #addin nuget:?package=FileFormat.Cells&version=24.10.1 // Install FileFormat.Cells as a Cake Tool #tool nuget:?package=FileFormat.Cells&version=24.10.1
FileFormat.Cells for .NET
Product Page | Docs | API Reference | Examples | Blog
Open-Source .NET Library For Spreadsheet Automation
FileFormat.Cells is an Open-Source and feature-rich .NET API that simplifies spreadsheet automation. Built on top of OpenXML, this C# library allows developers to easily create, manipulate and manage Excel workbooks. Whether you’re handling reports, data processing, or dynamic worksheet generation, FileFormat.Cells is the go-to solution for developers looking to streamline spreadsheet tasks in .NET.
Key Features
- Spreadsheet Generation: Create professional Excel files from scratch.
- Advanced Worksheet Manipulation: Manage worksheets, rows, and columns with ease.
- Multi-Sheet Management: Add, remove, rename, protect or reorder worksheets..
- Freeze Panes: Easily lock rows and columns to keep key data visible.
- Cell Formatting & Styling: Customize fonts, borders, colors, and more.
- AutoFit Columns: Automatically adjust column widths to match content.
- OpenXML Compatibility: Built on OpenXML for maximum performance and flexibility.
Why FileFormat.Cells?
- Extensible & Lightweight: Designed with extensibility in mind, FileFormat.Cells is ideal for both simple and advanced spreadsheet operations.
- Beginner-Friendly: Whether you’re new to .NET or an experienced developer, this library is straightforward and easy to use.
- Performance-Oriented: Built on OpenXML for fast and efficient handling of large datasets.
Detailed Guides and Examples
For practical, step-by-step guides on using FileFormat.Cells, check out our blog posts:
- How to Open a MS Excel Spreadsheet in C# using FileFormat.Cells
- How to Insert Rows into Excel Worksheets using C# and FileFormat.Cells
- How to Insert Columns into Excel Worksheets using C# and FileFormat.Cells
Installation
- Given that FileFormat.Cells is conveniently accessible through a NuGet Package, acquiring the library is as straightforward as obtaining the respective NuGet Package. The process of installing this C# Spreadsheet API is effortlessly accomplished through the execution of a single command, outlined below:.
Install-Package FileFormat.Cells
Basic Usage Example
The following code snippet creates an Excel file programmatically and adds text to cell A1:
using FileFormat.Cells;
using System;
class Program
{
static void Main()
{
// Create a new workbook (Excel file)
using (Workbook workbook = new Workbook())
{
// Access the first worksheet in the workbook
Worksheet sheet = workbook.Worksheets.First();
// Add text to cell A1
sheet.Cells["A1"].PutValue("Hello, World!");
// Save the workbook to the specified file path
workbook.Save("Z:\\Downloads\\test.xlsx");
}
}
}
Coming updates
FileFormat.Cells is planning to add more functionalities to its features bucket. So, stay in touch for regular updates.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- DocumentFormat.OpenXml (>= 2.20.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FileFormat.Cells:
Package | Downloads |
---|---|
FileFormat.Cells.Examples
Explore a collection of concise C# examples and Gists designed to demonstrate effective techniques for manipulating Excel spreadsheets using the FileFormat.Cells C# API. Streamline your spreadsheet processing tasks with these handy and practical code snippets. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.10.1 | 100 | 10/23/2024 |
24.10.0 | 85 | 10/16/2024 |
24.9.0 | 122 | 9/12/2024 |
24.8.1 | 108 | 8/27/2024 |
24.8.0 | 118 | 8/15/2024 |
24.7.0 | 116 | 7/10/2024 |
24.5.0 | 107 | 5/15/2024 |
24.4.0 | 124 | 4/19/2024 |
24.2.0 | 224 | 2/22/2024 |
24.1.0 | 486 | 1/17/2024 |
23.12.0 | 421 | 12/18/2023 |
23.11.0 | 413 | 11/16/2023 |
23.10.0 | 415 | 10/17/2023 |
23.9.0 | 401 | 9/25/2023 |
23.8.0 | 413 | 8/22/2023 |
- Added Freeze Pane support
- Enhanced Auto-Fit Column functionality
- Bug fixes and performance improvements