Edit

Excel.WorksheetProtectionChangedEventArgs interface

Provides information about the worksheet that raised the protection status changed event, which fires when the protection status is updated in a worksheet.

Remarks

[Api set: ExcelApi 1.14]

Properties

isProtected

Gets the current protection status of the worksheet.

source

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

type

Gets the type of the event. See Excel.EventType for details.

worksheetId

Gets the ID of the worksheet in which the protection status is changed.

Property Details

isProtected

Gets the current protection status of the worksheet.

isProtected: boolean;

Property Value

boolean

Remarks

[Api set: ExcelApi 1.14]

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.14]

type

Gets the type of the event. See Excel.EventType for details.

type: "WorksheetProtectionChanged";

Property Value

"WorksheetProtectionChanged"

Remarks

[Api set: ExcelApi 1.14]

worksheetId

Gets the ID of the worksheet in which the protection status is changed.

worksheetId: string;

Property Value

string

Remarks

[Api set: ExcelApi 1.14]