Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelCellData

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
551365f138da with working tree changes
Modifiers
sealed

A typed snapshot of a worksheet cell value.

Inheritance

  • object
  • ExcelCellData

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Constructors

public ExcelCellData(ExcelCellDataKind kind, object? value, string? formula = null, string? cachedText = null) #

Creates a snapshot for a worksheet cell value.

Parameters

kind OfficeIMO.Excel.ExcelCellDataKind required
value object? required
formula string? = null optional
cachedText string? = null optional

Properties

public ExcelCellDataKind Kind { get; } #

Gets the value kind.

public object? Value { get; } #

Gets the typed value when one is available.

public string? Formula { get; } #

Gets the formula text for formula cells.

public string? CachedText { get; } #

Gets the cached text from the cell value.

public bool IsBlank { get; } #

Gets a value indicating whether the cell is blank.

public bool HasFormula { get; } #

Gets a value indicating whether the cell contains a formula.