ExpertXls.ExcelLibrary 10.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ExpertXls.ExcelLibrary --version 10.0.0
                    
NuGet\Install-Package ExpertXls.ExcelLibrary -Version 10.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ExpertXls.ExcelLibrary" Version="10.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ExpertXls.ExcelLibrary" Version="10.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ExpertXls.ExcelLibrary" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ExpertXls.ExcelLibrary --version 10.0.0
                    
#r "nuget: ExpertXls.ExcelLibrary, 10.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ExpertXls.ExcelLibrary@10.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ExpertXls.ExcelLibrary&version=10.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ExpertXls.ExcelLibrary&version=10.0.0
                    
Install as a Cake Tool

ExpertXls Excel Library for .NET

ExpertXls Excel Library creates, edits and reads Excel workbooks in the Excel 97-2003 (.xls) and Excel 2007 or later (.xlsx) formats in any .NET application, without Microsoft Excel: cell styles, number formats, formulas, charts, pictures, hyperlinks, data validation, conditional formatting, Excel tables, AutoFilter, sort, find and replace, sparklines, CSV and DataTable import and export, page setup and protection.

This package contains the library for .NET Framework 2.0 to 4.8.1, .NET Core 2.0+ and .NET 5 to .NET 11 (through .NET Standard 2.0). For applications that run only as 64-bit processes there is also ExpertXls.ExcelLibrary.x64.

Features

  • Create new workbooks or edit existing ones; open and save files, streams and byte arrays
  • Excel 97-2003 (.xls) and Excel 2007 or later (.xlsx) formats
  • Cells and ranges in A1 notation or by row and column index, named ranges, merged cells
  • Text, number, date and boolean values with Excel number formats
  • Named workbook styles: solid, pattern and gradient fills, fonts, borders, alignment, text rotation
  • Formulas and array formulas in A1 and R1C1 notation, calculated by the library on request
  • 2D and 3D charts in worksheets and chart worksheets, with generated or custom series
  • Pictures, hyperlinks, cell comments and data validation
  • Conditional formatting: cell value and formula rules, color scales, data bars, icon sets; sparklines (.xlsx)
  • Excel tables with built-in styles and a totals row (.xlsx), AutoFilter, sorting by several columns
  • Find and replace in a range, a worksheet or the whole workbook
  • Import from CSV and export to CSV; load from and get to System.Data.DataTable
  • Page setup for printing: paper, margins, headers and footers with pictures
  • Worksheet and workbook protection, password to open Excel 97-2003 workbooks

Requirements

  • .NET Framework 2.0 to 4.8.1, .NET Core 2.0+ and .NET 5 to .NET 11 (through .NET Standard 2.0).
  • Windows 10, Windows 11, Windows Server 2016 or later (32-bit or 64-bit). Microsoft Excel is not needed.

Getting started

using System.Text;
using ExpertXls.ExcelLib;

// .NET Core and .NET 5 or later: register the code pages used by the Excel 97-2003 format
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);

ExcelWorkbook workbook = new ExcelWorkbook(ExcelWorkbookFormat.Xlsx_2007);
// workbook.LicenseKey = "your license key";

ExcelWorksheet worksheet = workbook.Worksheets[0];
worksheet.Name = "Sales";
worksheet["A1"].Value = "Product";
worksheet["B1"].Value = "Units";
worksheet["A2"].Value = "Excel Library";
worksheet["B2"].Value = 1250;
worksheet["A3"].Value = "PDF Merge";
worksheet["B3"].Value = 830;
worksheet["B4"].Formula = "=SUM(B2:B3)";
worksheet["A1:B1"].Style.Font.Bold = true;

workbook.Save("sales.xlsx");
workbook.Close();

The CodePagesEncodingProvider line is needed only on .NET Core and .NET 5 or later.

What's new in version 10.0

  • Version 10.0 is part of the ExpertPdf 22.0 release: it requires a version 10 license key (or an ExpertComponents Toolkit Total version 22 key).
  • New: conditional formatting (cell value and formula rules, color scales, data bars, icon sets), AutoFilter, sorting by several columns, Excel tables with a totals row, find and replace, sparklines.
  • New samples for .NET Framework 4.6.2, .NET 10 and .NET 11 (Windows Forms, console, ASP.NET Web Forms and Blazor), in C# and VB.NET, including workbook security, conditional formatting, sort and filter, Excel tables and find and replace samples.
  • Updated documentation: every code sample in C# and VB.NET.

Licensing

A license key is emailed to you when you purchase the product. Set it on each workbook before you save it:

workbook.LicenseKey = "your license key";

Without a license key the library runs in evaluation mode and adds a "Demo ExpertXls Excel Library" worksheet to the saved workbooks.

Documentation and support

Documentation, samples and the API reference: https://www.html-to-pdf.net/excel-library.aspx

For any problems, contact us: office@html-to-pdf.net

https://www.html-to-pdf.net

Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 was computed.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETStandard 2.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.1 84 11/20/2026
10.0.0 65 11/20/2026
9.0.0 4,486 5/12/2026
8.0.0 12,593 3/30/2023
7.0.0 6,815 4/6/2022
6.0.2 33,048 4/22/2020
5.0.0 46,753 3/21/2018
3.2.0 18,067 3/27/2017
3.0.0 4,389 3/30/2016

Version 10.0: part of the ExpertPdf 22.0 release, requires a version 10 license key. New C# and VB.NET samples for .NET Framework 4.6.2, .NET 10 and .NET 11 (Windows Forms, console, ASP.NET Web Forms, Blazor) and updated documentation. New: conditional formatting, AutoFilter, sort, Excel tables, find and replace, sparklines.