Excel.Interfaces.FunctionResultData interface

An interface describing the data returned by calling functionResult.toJSON().

Properties

error

Error value (such as "#DIV/0") representing the error. If the error string is not set, then the function succeeded, and its result is written to the Value field. The error is always in the English locale.

value

The value of function evaluation. The value field will be populated only if no error has occurred (i.e., the Error property is not set).

Property Details

error

Error value (such as "#DIV/0") representing the error. If the error string is not set, then the function succeeded, and its result is written to the Value field. The error is always in the English locale.

error?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.2 ]

value

The value of function evaluation. The value field will be populated only if no error has occurred (i.e., the Error property is not set).

value?: T;

Property Value

T

Remarks

[ API set: ExcelApi 1.2 ]