CompuMaster.Excel.OpenXml
2026.11.24
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.8
This package targets .NET Framework 4.8. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CompuMaster.Excel.OpenXml --version 2026.11.24
NuGet\Install-Package CompuMaster.Excel.OpenXml -Version 2026.11.24
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="CompuMaster.Excel.OpenXml" Version="2026.11.24" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CompuMaster.Excel.OpenXml" Version="2026.11.24" />
<PackageReference Include="CompuMaster.Excel.OpenXml" />
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 CompuMaster.Excel.OpenXml --version 2026.11.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CompuMaster.Excel.OpenXml, 2026.11.24"
#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 CompuMaster.Excel.OpenXml@2026.11.24
#: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=CompuMaster.Excel.OpenXml&version=2026.11.24
#tool nuget:?package=CompuMaster.Excel.OpenXml&version=2026.11.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CompuMaster.Excel.OpenXml
Edit XLSX templates with the Open XML SDK through the ExcelOps API. The engine runs on .NET Framework 4.8 on Windows and modern .NET on Windows and Linux. It copies the input package and edits the affected worksheet and workbook XML. Embedded images and drawing relationships are preserved without using Excel or a graphics library.
using CompuMaster.Excel.ExcelOps;
using static CompuMaster.Excel.ExcelOps.ExcelDataOperationsBase;
using var workbook = new OpenXmlExcelDataOperations(
"template.xlsx", OpenMode.OpenExistingFile, new ExcelDataOperationsOptions(ExcelDataOperationsOptions.WriteProtectionMode.ReadOnly));
workbook.WriteCellValue("Inputs", 0, 0, "Example");
workbook.WriteCellValue("Inputs", 0, 1, 12);
workbook.RequestRecalculationOnOpen();
workbook.SaveCopyAs("filled.xlsx", SaveOptionsForDisabledCalculationEngines.NoReset);
- Open an unencrypted XLSX from a path, byte array or stream, or create a workbook with one worksheet. The engine snapshots the input. The caller owns any supplied stream.
- Read and write strings, booleans, finite numbers and blanks with zero-based cell coordinates. Numeric reads return the stored number and do not interpret number formats as dates or currency. Writing a value replaces the cell's formula or old value and retains its formatting. Ordinary formulas can also be stored for later calculation.
- Inspect sheet visibility, hide and very-hide sheets, unhide sheets, and inspect or configure worksheet protection. Protection levels that preserve the existing cell-lock styles are supported. Removing password-protected sheet protection requires a different engine.
- Use
SaveCopyAswith a different destination to retain the source path, write protection and original file bytes.SaveAsswitches the current path to the new file.Saverequires a writable file path. - The default save preserves workbook calculation mode and cached formula values. Caches can be stale after input edits.
RequestRecalculationOnOpen()requests automatic full recalculation in Excel. The existing save cache options can clear cached formula results in the output. Reading a formula cell without a cached value raisesMissingCalculatedCellValueException. - The SDK does not evaluate formulas or update references. Calculation requests made to the engine raise
FeatureDisabledException. Row, column, cell and sheet structural operations and edits inside shared, array or data-table formula ranges raiseNotSupportedException. Formatted text and chart or HTML rendering are outside the supported scope.
The engine is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. 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 Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- CompuMaster.Excel.ExcelOps (>= 2026.11.24)
- DocumentFormat.OpenXml (>= 3.5.1)
-
net6.0
- CompuMaster.Excel.ExcelOps (>= 2026.11.24)
- DocumentFormat.OpenXml (>= 3.5.1)
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 |
|---|---|---|
| 2026.12.2 | 0 | 12/2/2026 |
| 2026.12.1.2 | 53 | 12/1/2026 |
| 2026.12.1.1 | 62 | 12/1/2026 |
| 2026.12.1 | 55 | 12/1/2026 |
| 2026.11.30 | 67 | 11/30/2026 |
| 2026.11.29.1 | 71 | 11/29/2026 |
| 2026.11.29 | 68 | 11/29/2026 |
| 2026.11.27 | 71 | 11/27/2026 |
| 2026.11.26 | 64 | 11/26/2026 |
| 2026.11.24 | 69 | 11/24/2026 |