Excel.AutorunEventCompletedOptions interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the options for completing an autorun event.
Remarks
Properties
| allow |
Specifies whether to allow the event to proceed. The default value is |
| autorun |
Specifies the type of autorun event to be completed if allowed. The default value is |
| message | If provided, specifies an optional error message if the event isn't allowed to proceed. The default value is "" (empty string). |
Property Details
allowEvent
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies whether to allow the event to proceed. The default value is false.
allowEvent: boolean;
Property Value
boolean
Remarks
autorunEventType
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the type of autorun event to be completed if allowed. The default value is unknown.
autorunEventType: Excel.AutorunEventType | "Unknown" | "OnDocumentSave" | "OnDocumentSaveAs";
Property Value
Excel.AutorunEventType | "Unknown" | "OnDocumentSave" | "OnDocumentSaveAs"
Remarks
message
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies an optional error message if the event isn't allowed to proceed. The default value is "" (empty string).
message?: string;
Property Value
string