ExcelScript.Binding interface

Represents an Office.js binding that is defined in the workbook.

Methods

delete()

Deletes the binding.

getId()

Represents the binding identifier.

getRange()

Returns the range represented by the binding. Will throw an error if the binding is not of the correct type.

getTable()

Returns the table represented by the binding. Will throw an error if the binding is not of the correct type.

getText()

Returns the text represented by the binding. Will throw an error if the binding is not of the correct type.

getType()

Returns the type of the binding. See ExcelScript.BindingType for details.

Method Details

delete()

Deletes the binding.

delete(): void;

Returns

void

getId()

Represents the binding identifier.

getId(): string;

Returns

string

getRange()

Returns the range represented by the binding. Will throw an error if the binding is not of the correct type.

getRange(): Range;

Returns

getTable()

Returns the table represented by the binding. Will throw an error if the binding is not of the correct type.

getTable(): Table;

Returns

getText()

Returns the text represented by the binding. Will throw an error if the binding is not of the correct type.

getText(): string;

Returns

string

getType()

Returns the type of the binding. See ExcelScript.BindingType for details.

getType(): BindingType;

Returns