# ExcelCustomFormulaFunctionContext

Read-only workbook location supplied to a custom formula function.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[ExcelCustomFormulaFunction.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelCustomFormulaFunction.cs#L86)

**Modifiers**

sealed

Read-only workbook location supplied to a custom formula function.

## Inheritance

- object
- ExcelCustomFormulaFunctionContext

## 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.

### Accepted by parameters 2

- Method [ExcelCustomFormulaFunction.BeginInvoke](/api/excel/officeimo-excel-excelcustomformulafunction/#method-begininvoke-excelcustomformulafunctioncontext-ireadonlylist-excelformulavalue-asynccallback-object) parameter `context`
- Method [ExcelCustomFormulaFunction.Invoke](/api/excel/officeimo-excel-excelcustomformulafunction/#method-invoke-excelcustomformulafunctioncontext-ireadonlylist-excelformulavalue) parameter `context`

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public ExcelDocument Workbook { get; }` [#](#property-workbook)

[ExcelCustomFormulaFunction.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelCustomFormulaFunction.cs#L86)

Gets the workbook being evaluated.

`public ExcelSheet Worksheet { get; }` [#](#property-worksheet)

[ExcelCustomFormulaFunction.cs:89](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelCustomFormulaFunction.cs#L89)

Gets the worksheet containing the formula.

`public string FunctionName { get; }` [#](#property-functionname)

[ExcelCustomFormulaFunction.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelCustomFormulaFunction.cs#L92)

Gets the normalized custom function name.

`public string? CellReference { get; }` [#](#property-cellreference)

[ExcelCustomFormulaFunction.cs:95](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelCustomFormulaFunction.cs#L95)

Gets the formula cell reference when evaluation originates from a cell.

<!-- PowerForge markdown artifact sha256:4A4EDBC0F8834D03445F26C9CFDF8328F866CCAF6C845ADC795AFC781B0FCEC4 -->
