Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

ExcelFormulaValue

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
12511d2fa560 with working tree changes
Base
ValueType
Modifiers
sealed

Typed scalar value used by custom formula functions.

Inheritance

  • ValueType
  • ExcelFormulaValue

Usage

Explore 8 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.

Accepted by parameters 2

Methods

public static ExcelFormulaValue FromError(string errorCode) #

Creates an Excel error formula value.

Parameters

errorCode string required
public static ExcelFormulaValue FromNumber(double value) #

Creates a finite numeric formula value.

Parameters

value double required
public static ExcelFormulaValue FromText(string? value) #

Creates a text formula value.

Parameters

value string? required

Properties

public static ExcelFormulaValue Blank { get; } #

Blank formula value.

public ExcelFormulaValueKind Kind { get; } #

Gets the value kind.

public double Number { get; } #

Gets the number when ExcelFormulaValue.Kind is ExcelFormulaValueKind.Number.

public string? Text { get; } #

Gets the text or error code for text and error values.