Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 20 additions & 18 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31880,79 +31880,79 @@ declare namespace Excel {
cachedUid: string;
}
/**
* Represents types of #N/A! errors.
* Represents types of #N/A errors.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
enum NotAvailableErrorCellValueSubType {
/**
* An unknown type of error. Displays as error type #N/A! in Excel.
* An unknown type of error. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
unknown = "Unknown",
/**
* An error caused by `VLOOKUP` not finding its `lookup_value` in the search range. Displays as error type #N/A! in Excel.
* An error caused by `VLOOKUP` not finding its `lookup_value` in the search range. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
vlookupValueNotFound = "VlookupValueNotFound",
/**
* An error caused by `HLOOKUP` not finding its `lookup_value` in the search range. Displays as error type #N/A! in Excel.
* An error caused by `HLOOKUP` not finding its `lookup_value` in the search range. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
hlookupValueNotFound = "HlookupValueNotFound",
/**
* An error caused by an invalid property argument to `STOCKHISTORY`. Displays as error type #N/A! in Excel.
* An error caused by an invalid property argument to `STOCKHISTORY`. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
stockHistoryInvalidProperty = "StockHistoryInvalidProperty",
/**
* An error caused by no data being available for a `STOCKHISTORY` function. Displays as error type #N/A! in Excel.
* An error caused by no data being available for a `STOCKHISTORY` function. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
stockHistoryNoData = "StockHistoryNoData",
/**
* An error caused by an external code service returning an unknown object. Displays as error type #N/A! in Excel.
* An error caused by an external code service returning an unknown object. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
pythonObjectUnknown = "PythonObjectUnknown",
/**
* No match was found for the pattern in the text provided. Displays as error type #N/A! in Excel.
* No match was found for the pattern in the text provided. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
eRegexMatchNoResult = "ERegexMatchNoResult",
/**
* Occurrence is greater than the total number of matches. Displays as error type #N/A! in Excel.
* Occurrence is greater than the total number of matches. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
* @beta
*/
eRegexReplaceOccurrenceNoResult = "ERegexReplaceOccurrenceNoResult",
/**
* No capture groups were matched. Displays as error type #N/A! in Excel.
* No capture groups were matched. Displays as error type #N/A in Excel.
*
* @remarks
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
Expand All @@ -31961,7 +31961,7 @@ declare namespace Excel {
eRegexMatchNoCapture = "ERegexMatchNoCapture"
}
/**
* Represents the value of a cell containing a #N/A! error.
* Represents the value of a cell containing a #N/A error.
*
* @remarks
* [Api set: ExcelApi 1.16]
Expand All @@ -31982,7 +31982,7 @@ declare namespace Excel {
* @remarks
* [Api set: ExcelApi 1.16]
*/
basicValue?: "#N/A!" | string;
basicValue?: "#N/A" | string;
/**
* Represents the value that would be returned by `Range.valueTypes` for a cell with this value.
*
Expand Down Expand Up @@ -34063,6 +34063,7 @@ declare namespace Excel {
/**
*
* Creates and opens a new workbook. Optionally, the workbook can be pre-populated with a Base64-encoded .xlsx file.
* The `extensionHardening` Windows registry key affects the `base64File` param. The file extension defined by the param must match the real file type of the file. If `extensionHardening` is set to deny mismatches and the file extension does not match the real file type, this API throws the following error: "This operation is not allowed due to the extension hardening policy."
* Note: Macros can be a security risk. If this API is used to create a workbook that includes a macro, the add-in user will be prompted with a "Trust this add-in?" dialog in the Excel UI. The user must select the "Trust add-in" button to proceed.
*
* [Api set: ExcelApi 1.8]
Expand Down Expand Up @@ -39646,11 +39647,12 @@ declare namespace Excel {
getSelectedRanges(): Excel.RangeAreas;
/**
* Inserts the specified worksheets from a source workbook into the current workbook.

**Note**: This API is currently only supported for Office on Windows, Mac, and the web.
* The `extensionHardening` Windows registry key affects this API. The file extension defined by the `base64File` param must match the real file type of the inserted file. If `extensionHardening` is set to deny mismatches and the file extension does not match the real file type, this API throws the following error: "This operation is not allowed due to the extension hardening policy."
*
* @remarks
* [Api set: ExcelApi 1.13]
*
* This API is currently only supported for Office on Windows, Mac, and the web.
*
* @param base64File Required. The Base64-encoded string representing the source workbook file.
* @param options Optional. The options that define which worksheets to insert and where in the workbook the new worksheets will be inserted. By default, all the worksheets from the source workbook are inserted at the end of the current workbook.
Expand Down Expand Up @@ -41648,7 +41650,7 @@ declare namespace Excel {
*/
getEntireRow(): Excel.Range;
/**
* Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the Ctrl+Shift+Arrow key behavior in the Excel on Windows UI.
* Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
*
* @remarks
* [Api set: ExcelApi 1.13]
Expand All @@ -41658,7 +41660,7 @@ declare namespace Excel {
*/
getExtendedRange(direction: Excel.KeyboardDirection, activeCell?: Range | string): Excel.Range;
/**
* Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the Ctrl+Shift+Arrow key behavior in the Excel on Windows UI.
* Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
*
* @remarks
* [Api set: ExcelApi 1.13]
Expand Down Expand Up @@ -41753,7 +41755,7 @@ declare namespace Excel {
*/
getPrecedents(): Excel.WorkbookRangeAreas;
/**
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the Ctrl+Arrow key behavior in the Excel on Windows UI.
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
*
* @remarks
* [Api set: ExcelApi 1.13]
Expand All @@ -41763,7 +41765,7 @@ declare namespace Excel {
*/
getRangeEdge(direction: Excel.KeyboardDirection, activeCell?: Range | string): Excel.Range;
/**
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the Ctrl+Arrow key behavior in the Excel on Windows UI.
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
*
* @remarks
* [Api set: ExcelApi 1.13]
Expand Down
18 changes: 10 additions & 8 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30805,7 +30805,7 @@ declare namespace Excel {
provider?: CellValueProviderAttributes;
}
/**
* Represents the value of a cell containing a #N/A! error.
* Represents the value of a cell containing a #N/A error.
*
* @remarks
* [Api set: ExcelApi 1.16]
Expand All @@ -30826,7 +30826,7 @@ declare namespace Excel {
* @remarks
* [Api set: ExcelApi 1.16]
*/
basicValue?: "#N/A!" | string;
basicValue?: "#N/A" | string;
/**
* Represents the value that would be returned by `Range.valueTypes` for a cell with this value.
*
Expand Down Expand Up @@ -32038,6 +32038,7 @@ declare namespace Excel {
/**
*
* Creates and opens a new workbook. Optionally, the workbook can be pre-populated with a Base64-encoded .xlsx file.
* The `extensionHardening` Windows registry key affects the `base64File` param. The file extension defined by the param must match the real file type of the file. If `extensionHardening` is set to deny mismatches and the file extension does not match the real file type, this API throws the following error: "This operation is not allowed due to the extension hardening policy."
* Note: Macros can be a security risk. If this API is used to create a workbook that includes a macro, the add-in user will be prompted with a "Trust this add-in?" dialog in the Excel UI. The user must select the "Trust add-in" button to proceed.
*
* [Api set: ExcelApi 1.8]
Expand Down Expand Up @@ -35680,11 +35681,12 @@ declare namespace Excel {
getSelectedRanges(): Excel.RangeAreas;
/**
* Inserts the specified worksheets from a source workbook into the current workbook.

**Note**: This API is currently only supported for Office on Windows, Mac, and the web.
* The `extensionHardening` Windows registry key affects this API. The file extension defined by the `base64File` param must match the real file type of the inserted file. If `extensionHardening` is set to deny mismatches and the file extension does not match the real file type, this API throws the following error: "This operation is not allowed due to the extension hardening policy."
*
* @remarks
* [Api set: ExcelApi 1.13]
*
* This API is currently only supported for Office on Windows, Mac, and the web.
*
* @param base64File Required. The Base64-encoded string representing the source workbook file.
* @param options Optional. The options that define which worksheets to insert and where in the workbook the new worksheets will be inserted. By default, all the worksheets from the source workbook are inserted at the end of the current workbook.
Expand Down Expand Up @@ -37622,7 +37624,7 @@ declare namespace Excel {
*/
getEntireRow(): Excel.Range;
/**
* Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the Ctrl+Shift+Arrow key behavior in the Excel on Windows UI.
* Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
*
* @remarks
* [Api set: ExcelApi 1.13]
Expand All @@ -37632,7 +37634,7 @@ declare namespace Excel {
*/
getExtendedRange(direction: Excel.KeyboardDirection, activeCell?: Range | string): Excel.Range;
/**
* Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the Ctrl+Shift+Arrow key behavior in the Excel on Windows UI.
* Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
*
* @remarks
* [Api set: ExcelApi 1.13]
Expand Down Expand Up @@ -37727,7 +37729,7 @@ declare namespace Excel {
*/
getPrecedents(): Excel.WorkbookRangeAreas;
/**
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the Ctrl+Arrow key behavior in the Excel on Windows UI.
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
*
* @remarks
* [Api set: ExcelApi 1.13]
Expand All @@ -37737,7 +37739,7 @@ declare namespace Excel {
*/
getRangeEdge(direction: Excel.KeyboardDirection, activeCell?: Range | string): Excel.Range;
/**
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the Ctrl+Arrow key behavior in the Excel on Windows UI.
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
*
* @remarks
* [Api set: ExcelApi 1.13]
Expand Down