Excel.WorksheetNameChangedEventArgs interface

Provides information about the worksheet whose name has changed.

Remarks

[ API set: ExcelApi 1.17 ]

Properties

nameAfter

Gets the new name of the worksheet, after the name change.

nameBefore

Gets the previous name of the worksheet, before the name changed.

source

The source of the event. It can be local or remote (through co-authoring).

type

Gets the type of the event.

worksheetId

Gets the ID of the worksheet with the new name.

Property Details

nameAfter

Gets the new name of the worksheet, after the name change.

nameAfter: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.17 ]

nameBefore

Gets the previous name of the worksheet, before the name changed.

nameBefore: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.17 ]

source

The source of the event. It can be local or remote (through co-authoring).

source: Excel.EventSource | "Local" | "Remote";

Property Value

Excel.EventSource | "Local" | "Remote"

Remarks

[ API set: ExcelApi 1.17 ]

type

Gets the type of the event.

type: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.17 ]

worksheetId

Gets the ID of the worksheet with the new name.

worksheetId: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.17 ]