OfficeDocuments.Excel.Advanced
4.0.0
dotnet add package OfficeDocuments.Excel.Advanced --version 4.0.0
NuGet\Install-Package OfficeDocuments.Excel.Advanced -Version 4.0.0
<PackageReference Include="OfficeDocuments.Excel.Advanced" Version="4.0.0" />
<PackageVersion Include="OfficeDocuments.Excel.Advanced" Version="4.0.0" />
<PackageReference Include="OfficeDocuments.Excel.Advanced" />
paket add OfficeDocuments.Excel.Advanced --version 4.0.0
#r "nuget: OfficeDocuments.Excel.Advanced, 4.0.0"
#:package OfficeDocuments.Excel.Advanced@4.0.0
#addin nuget:?package=OfficeDocuments.Excel.Advanced&version=4.0.0
#tool nuget:?package=OfficeDocuments.Excel.Advanced&version=4.0.0
OfficeDocuments.Excel.Advanced
Optional advanced layer for OfficeDocuments.Excel.
It adds the heavier, less-common Excel features on top of the minimal core so a consumer who only
needs cells, rows, ranges, and styles does not carry them.
The advanced features are exposed as extension methods over the core ISpreadsheet and
IWorksheet interfaces. Add the package, add a using, and the calls light up on the objects you
already have.
What is in here
| Feature | API |
|---|---|
| Structured tables | ISpreadsheet.AddTable / GetTable / GetTables / RenameTable / ResizeTable / RemoveTable |
| Named ranges | ISpreadsheet.AddNamedRange |
| Workbook protection | ISpreadsheet.ProtectWorkbook |
| Worksheet protection | IWorksheet.Protect |
| Image embedding | IWorksheet.AddImage |
Data validation, conditional formatting, hyperlinks, and comments are not here — they live on
IRange / ICell in the core package.
Usage
using OfficeDocuments.Excel;
using OfficeDocuments.Excel.Advanced; // brings the advanced extensions into scope
using var spreadsheet = Spreadsheet.CreateDocument(stream);
var sheet = spreadsheet.AddWorksheet("Data");
// ... write cells ...
var range = sheet.GetRange("A1:C10");
spreadsheet.AddTable(range, ["Id", "Name", "Value"]);
spreadsheet.AddNamedRange("MyData", range);
sheet.AddImage("logo.png", 1, 1, 3, 5);
spreadsheet.ProtectWorkbook("secret");
The extensions require the built-in Spreadsheet / Worksheet implementation from the core
package; they throw ArgumentException if handed a foreign ISpreadsheet / IWorksheet.
Versioning
Ships in lockstep with OfficeDocuments.Excel on the same version line. See the
v3 → v4 migration guide
for what moved here in v4 and how to update your code.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 is compatible. 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 is compatible. 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. |
-
net10.0
- DocumentFormat.OpenXml (>= 3.5.1)
- OfficeDocuments.Excel (>= 4.0.0)
-
net8.0
- DocumentFormat.OpenXml (>= 3.5.1)
- OfficeDocuments.Excel (>= 4.0.0)
-
net9.0
- DocumentFormat.OpenXml (>= 3.5.1)
- OfficeDocuments.Excel (>= 4.0.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 |
|---|---|---|
| 4.0.0 | 96 | 8/6/2026 |