CompuMaster.Excel.EpplusPolyformEdition
2026.11.30
See the version list below for details.
dotnet add package CompuMaster.Excel.EpplusPolyformEdition --version 2026.11.30
NuGet\Install-Package CompuMaster.Excel.EpplusPolyformEdition -Version 2026.11.30
<PackageReference Include="CompuMaster.Excel.EpplusPolyformEdition" Version="2026.11.30" />
<PackageVersion Include="CompuMaster.Excel.EpplusPolyformEdition" Version="2026.11.30" />
<PackageReference Include="CompuMaster.Excel.EpplusPolyformEdition" />
paket add CompuMaster.Excel.EpplusPolyformEdition --version 2026.11.30
#r "nuget: CompuMaster.Excel.EpplusPolyformEdition, 2026.11.30"
#:package CompuMaster.Excel.EpplusPolyformEdition@2026.11.30
#addin nuget:?package=CompuMaster.Excel.EpplusPolyformEdition&version=2026.11.30
#tool nuget:?package=CompuMaster.Excel.EpplusPolyformEdition&version=2026.11.30
CompuMaster.Excel.EpplusPolyformEdition
A library to access and edit Excel files with common interface CompuMaster.Excel.ExcelOps for several Excel engines
Use latest Epplus with Epplus Software's polyform license for solutions targetting .NET Framework 4.8 or .NET 6 or higher
Quick & dirty engine comparison / why you shouldn't use MS Excel for all situations
For a full engine overview and comparison chart, please see https://github.com/CompuMasterGmbH/CompuMaster.Excel/blob/main/README.md
Licensing
- Please see license file in project directory
- Pay attention to required licensing of the 3rd party components (commercial vs. community licensing, user licensing, etc.)
Resetting saved calculation caches
Saving with AlwaysResetCalculatedValuesForForcedCellRecalculation clears saved formula results and linked chart caches in the output. It also removes identifiable chart previews and retains authored pictures and literal chart data. Excel can recalculate the result on open. Use NoReset to retain the saved values and previews.
Formula results in HTML
The export now throws MissingCalculatedCellValueException by default when an exported formula has no cached result. Set MissingFormulaResultText to "" to retain the previous blank display, or supply replacement text. Set FormulaCalculationMode to CalculateIfMissing to request evaluation of missing results.
Examples
Quick-Start: Create a workbook and put some values and formulas, then output the result to console
using CompuMaster.Excel.ExcelOps;
string FirstSheetName;
TextTable formulasOrValues;
TextTable values;
//Assign required license context for Epplus component
EpplusPolyformExcelDataOperations.LicenseContext = new EpplusPolyformExcelDataOperations.EpplusLicenseActivator(OfficeOpenXml.EPPlusLicenseType.NonCommercialPersonal, "Your Name");
//Create a workbook and put some values and formulas
workbook = new EpplusPolyformExcelDataOperations(null, ExcelDataOperationsBase.OpenMode.CreateFile, new ExcelDataOperationsOptions());
FirstSheetName = workbook.SheetNames()[0];
workbook.WriteCellValue<int>(FirstSheetName, 0, 0, 123);
workbook.WriteCellValue<double>(new ExcelCell(FirstSheetName, "B1", ExcelCell.ValueTypes.All), 456.123);
workbook.WriteCellFormula(FirstSheetName, 0, 2, @"SUM(A1:B1)", true);
//Output table with formulas or alternatively with formatted cell value
formulasOrValues = workbook.SheetContentMatrix(FirstSheetName, ExcelDataOperationsBase.MatrixContent.FormulaOrFormattedText);
System.Console.WriteLine(formulasOrValues.ToUIExcelTable());
//Output table with calculated or static values
values = workbook.SheetContentMatrix(FirstSheetName, ExcelDataOperationsBase.MatrixContent.StaticOrCalculatedValues);
System.Console.WriteLine(values.ToUIExcelTable());
leads to following output
# |A |B |C
--+---+-------+-----------
1 |123|456,123|=SUM(A1:B1)
# |A |B |C
--+---+-------+-------
1 |123|456,123|579,123
| 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. |
-
.NETFramework 4.8
- CompuMaster.Data.EpplusPolyformEdition (>= 2026.11.30)
- CompuMaster.Excel.ExcelOps (>= 2026.11.30)
- DocumentFormat.OpenXml (>= 3.5.1)
- EPPlus (>= 8.4.0)
-
net6.0
- CompuMaster.Data.EpplusPolyformEdition (>= 2026.11.30)
- CompuMaster.Excel.ExcelOps (>= 2026.11.30)
- DocumentFormat.OpenXml (>= 3.5.1)
- EPPlus (>= 8.4.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 |
|---|---|---|
| 2026.12.2 | 0 | 12/2/2026 |
| 2026.12.1.2 | 52 | 12/1/2026 |
| 2026.12.1.1 | 70 | 12/1/2026 |
| 2026.12.1 | 76 | 12/1/2026 |
| 2026.11.30 | 88 | 11/30/2026 |
| 2026.11.29.1 | 100 | 11/29/2026 |
| 2026.11.29 | 99 | 11/29/2026 |
| 2026.11.27 | 100 | 11/27/2026 |
| 2026.11.26 | 102 | 11/26/2026 |
| 2026.11.24 | 94 | 11/24/2026 |
| 2026.11.12 | 122 | 11/12/2026 |
| 2026.10.9 | 183 | 10/9/2026 |
| 2026.10.8.1 | 104 | 10/8/2026 |
| 2026.10.8 | 104 | 10/8/2026 |
| 2026.10.7.1 | 110 | 10/7/2026 |
| 2026.10.7 | 112 | 10/7/2026 |
| 2026.9.29 | 115 | 9/29/2026 |
| 2026.9.28 | 113 | 9/28/2026 |
| 2026.8.31 | 136 | 8/31/2026 |
| 2026.7.30.1 | 222 | 7/30/2026 |