You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Represents the value of a cell containing a number with a format string. Number format strings must conform to Excel guidelines. To learn more, see {@link https://support.microsoft.com/office/c0a1d1fa-d3f4-4018-96b7-9c9354dd99f5 | Review guidelines for customizing a number format}.
32094
32094
* In this scenario, the format is applied to the value and not to the cell, so the value retains its format string throughout calculation.
32095
32095
*
32096
-
* @deprecated As of [Api set: ExcelApi 1.19], use {@link https://learn.microsoft.com/javascript/api/excel/excel.doublecellvalue | DoubleCellValue} instead.
32096
+
* @deprecated As of ExcelApi 1.19, use {@link https://learn.microsoft.com/javascript/api/excel/excel.doublecellvalue | DoubleCellValue} instead.
32097
32097
*
32098
32098
* @remarks
32099
32099
* [Api set: ExcelApi 1.16]
@@ -32102,7 +32102,7 @@ declare namespace Excel {
32102
32102
/**
32103
32103
* Represents the type of this cell value.
32104
32104
*
32105
-
* @deprecated Deprecated since [Api set: ExcelApi 1.19].
32105
+
* @deprecated Deprecated since ExcelApi 1.19.
32106
32106
*
32107
32107
* @remarks
32108
32108
* [Api set: ExcelApi 1.16]
@@ -32111,7 +32111,7 @@ declare namespace Excel {
32111
32111
/**
32112
32112
* Represents the value that would be returned by `Range.values` for a cell with this value.
32113
32113
*
32114
-
* @deprecated Deprecated since [Api set: ExcelApi 1.19].
32114
+
* @deprecated Deprecated since ExcelApi 1.19.
32115
32115
*
32116
32116
* @remarks
32117
32117
* [Api set: ExcelApi 1.16]
@@ -32120,7 +32120,7 @@ declare namespace Excel {
32120
32120
/**
32121
32121
* Represents the value that would be returned by `Range.valueTypes` for a cell with this value.
32122
32122
*
32123
-
* @deprecated Deprecated since [Api set: ExcelApi 1.19].
32123
+
* @deprecated Deprecated since ExcelApi 1.19.
32124
32124
*
32125
32125
* @remarks
32126
32126
* [Api set: ExcelApi 1.16]
@@ -32132,7 +32132,7 @@ declare namespace Excel {
32132
32132
* Number format strings must conform to Excel guidelines.
32133
32133
* To learn more, see {@link https://support.microsoft.com/office/c0a1d1fa-d3f4-4018-96b7-9c9354dd99f5 | Review guidelines for customizing a number format}.
32134
32134
*
32135
-
* @deprecated Deprecated since [Api set: ExcelApi 1.19].
* Creates and opens a new workbook. Optionally, the workbook can be pre-populated with a Base64-encoded .xlsx file.
34629
-
* 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."
34630
-
* 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.
34631
-
*
34628
+
* Creates and opens a new workbook. Optionally, the workbook can be pre-populated
34629
+
* with a Base64-encoded .xlsx file.
34630
+
34631
+
* Note: Macros can be a security risk. If this API is used to create a workbook that
34632
+
* includes a macro, the add-in user will be prompted with a "Trust this add-in?" dialog
34633
+
* in the Excel UI. The user must select the "Trust add-in" button to proceed.
34634
+
*
34635
+
* Note: The `extensionHardening` Windows registry key affects the `base64File` param.
34636
+
* The file extension defined by the param must match the real file type of the file.
34637
+
* If `extensionHardening` is set to deny mismatches and the file extension does not match the real file type, this API throws the following error:
34638
+
* "This operation is not allowed due to the extension hardening policy."
34632
34639
* [Api set: ExcelApi 1.8]
34633
34640
*
34634
34641
* @param base64File Optional. The Base64-encoded .xlsx file. The default value is null.
* If provided, specifies an optional error message if the event isn't allowed to proceed. The default value is "" (empty string).
39922
+
*
39923
+
* @remarks
39924
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
39925
+
* @beta
39926
+
*/
39927
+
message?: string;
39928
+
}
39863
39929
/**
39864
39930
* Workbook is the top level object which contains related workbook objects such as worksheets, tables, and ranges.
39865
39931
To learn more about the workbook object model, read {@link https://learn.microsoft.com/office/dev/add-ins/excel/excel-add-ins-workbooks | Work with workbooks using the Excel JavaScript API}.
* Inserts the specified worksheets from a source workbook into the current workbook.
40257
-
* 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."
40332
+
40333
+
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."
40334
+
40335
+
**Note**: This API is currently only supported for Office on Windows, Mac, and the web.
0 commit comments