<!-- Generated by tools/SharpCell.Docs from the XML documentation comments. Do not edit; run the tool with 'generate'. -->

# XlsxWriteOptions

```csharp
public sealed class XlsxWriteOptions
```

Namespace `SharpCell.Xlsx` · package `SharpCell.Xlsx`

Options for [XlsxWriter](SharpCell.Xlsx.XlsxWriter.md).

## Constructors

<a id="ctor"></a>
### XlsxWriteOptions()

```csharp
public XlsxWriteOptions()
```

The defaults: a save is refused when some formulas cannot be calculated.

## Properties

<a id="keepuncalculated"></a>
### KeepUncalculated

```csharp
public bool KeepUncalculated { get; init; }
```

What to do with formulas SharpCell cannot calculate, such as calls of functions it does not know or links to other workbooks. False (the default) refuses to save with an [XlsxWriteException](SharpCell.Xlsx.XlsxWriteException.md). True keeps the result Excel saved for them and marks the file so that Excel recalculates every formula when it opens it; until then, cells that read such a formula show what SharpCell calculated for them.
