Table of Contents

Property ErrorMessage

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

ErrorMessage

Gets or sets the error message; null for Excel's own. At most 225 characters; a line break is kept.

public string? ErrorMessage { get; set; }

Property Value

string

Exceptions

ArgumentException

The value set is longer than 225 characters or holds a character a workbook cannot store.

InvalidOperationException

The rule is no longer on the sheet.