Movatterモバイル変換


[0]ホーム

URL:


Skip to main contentSkip to in-page navigation

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

excel package

Classes

Excel.AllowEditRange

Represents anAllowEditRange object found in a worksheet. This object works with worksheet protection properties. When worksheet protection is enabled, anAllowEditRange object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.

Excel.AllowEditRangeCollection

Represents the set ofAllowEditRange objects found in a worksheet.AllowEditRange objects work with worksheet protection properties. When worksheet protection is enabled, anAllowEditRange object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.

Excel.Application

Represents the Excel application that manages the workbook.

Excel.AutoFilter

Represents theAutoFilter object. AutoFilter turns the values in Excel column into specific filters based on the cell contents.

Excel.Binding

Represents an Office.js binding that is defined in the workbook.

Excel.BindingCollection

Represents the collection of all the binding objects that are part of the workbook.

Excel.CellValueConditionalFormat

Represents a cell value conditional format.

Excel.Chart

Represents a chart object in a workbook. To learn more about the chart object model, seeWork with charts using the Excel JavaScript API.

Excel.ChartAreaFormat

Encapsulates the format properties for the overall chart area.

Excel.ChartAxes

Represents the chart axes.

Excel.ChartAxis

Represents a single axis in a chart.

Excel.ChartAxisFormat

Encapsulates the format properties for the chart axis.

Excel.ChartAxisTitle

Represents the title of a chart axis.

Excel.ChartAxisTitleFormat

Represents the chart axis title formatting.

Excel.ChartBinOptions

Encapsulates the bin options for histogram charts and pareto charts.

Excel.ChartBorder

Represents the border formatting of a chart element.

Excel.ChartBoxwhiskerOptions

Represents the properties of a box and whisker chart.

Excel.ChartCollection

A collection of all the chart objects on a worksheet.

Excel.ChartDataLabel

Represents the data label of a chart point.

Excel.ChartDataLabelAnchor

Represents the chart data label anchor.

Excel.ChartDataLabelFormat

Encapsulates the format properties for the chart data labels.

Excel.ChartDataLabels

Represents a collection of all the data labels on a chart point.

Excel.ChartDataTable

Represents the data table object of a chart.

Excel.ChartDataTableFormat

Represents the format of a chart data table.

Excel.ChartErrorBars

This object represents the attributes for a chart's error bars.

Excel.ChartErrorBarsFormat

Encapsulates the format properties for chart error bars.

Excel.ChartFill

Represents the fill formatting for a chart element.

Excel.ChartFont

This object represents the font attributes (such as font name, font size, and color) for a chart object.

Excel.ChartFormatString

Represents the substring in chart related objects that contain text, like aChartTitle object orChartAxisTitle object.

Excel.ChartGridlines

Represents major or minor gridlines on a chart axis.

Excel.ChartGridlinesFormat

Encapsulates the format properties for chart gridlines.

Excel.ChartLeaderLines

Gets an object that represents the formatting of chart leader lines.

Excel.ChartLeaderLinesFormat

Encapsulates the format properties for leader lines.

Excel.ChartLegend

Represents the legend in a chart.

Excel.ChartLegendEntry

Represents the legend entry inlegendEntryCollection.

Excel.ChartLegendEntryCollection

Represents a collection of legend entries.

Excel.ChartLegendFormat

Encapsulates the format properties of a chart legend.

Excel.ChartLineFormat

Encapsulates the formatting options for line elements.

Excel.ChartMapOptions

Encapsulates the properties for a region map chart.

Excel.ChartPivotOptions

Encapsulates the options for the pivot chart.

Excel.ChartPlotArea

This object represents the attributes for a chart plot area.

Excel.ChartPlotAreaFormat

Represents the format properties for a chart plot area.

Excel.ChartPoint

Represents a point of a series in a chart.

Excel.ChartPointFormat

Represents the formatting object for chart points.

Excel.ChartPointsCollection

A collection of all the chart points within a series inside a chart.

Excel.ChartSeries

Represents a series in a chart.

Excel.ChartSeriesCollection

Represents a collection of chart series.

Excel.ChartSeriesFormat

Encapsulates the format properties for the chart series

Excel.ChartTitle

Represents a chart title object of a chart.

Excel.ChartTitleFormat

Provides access to the formatting options for a chart title.

Excel.ChartTrendline

This object represents the attributes for a chart trendline object.

Excel.ChartTrendlineCollection

Represents a collection of chart trendlines.

Excel.ChartTrendlineFormat

Represents the format properties for the chart trendline.

Excel.ChartTrendlineLabel

This object represents the attributes for a chart trendline label object.

Excel.ChartTrendlineLabelFormat

Encapsulates the format properties for the chart trendline label.

Excel.ColorScaleConditionalFormat

Represents the color scale criteria for conditional formatting.

Excel.Comment

Represents a comment in the workbook.

Excel.CommentCollection

Represents a collection of comment objects that are part of the workbook.

Excel.CommentReply

Represents a comment reply in the workbook.

Excel.CommentReplyCollection

Represents a collection of comment reply objects that are part of the comment.

Excel.ConditionalDataBarNegativeFormat

Represents a conditional format for the negative side of the data bar.

Excel.ConditionalDataBarPositiveFormat

Represents a conditional format for the positive side of the data bar.

Excel.ConditionalFormat

An object encapsulating a conditional format's range, format, rule, and other properties. To learn more about the conditional formatting object model, readApply conditional formatting to Excel ranges.

Excel.ConditionalFormatCollection

Represents a collection of all the conditional formats that are overlap the range.

Excel.ConditionalFormatRule

Represents a rule, for all traditional rule/format pairings.

Excel.ConditionalRangeBorder

Represents the border of an object.

Excel.ConditionalRangeBorderCollection

Represents the border objects that make up range border.

Excel.ConditionalRangeFill

Represents the background of a conditional range object.

Excel.ConditionalRangeFont

This object represents the font attributes (font style, color, etc.) for an object.

Excel.ConditionalRangeFormat

A format object encapsulating the conditional formats range's font, fill, borders, and other properties.

Excel.CultureInfo

Provides information based on current system culture settings. This includes the culture names, number formatting, and other culturally dependent settings.

Excel.CustomConditionalFormat

Represents a custom conditional format type.

Excel.CustomFunctionManager

Manages settings on custom functions.

Excel.CustomProperty

Represents a custom property.

Excel.CustomPropertyCollection

Contains the collection of custom properties.

Excel.CustomXmlPart

Represents a custom XML part object in a workbook.

Excel.CustomXmlPartCollection

A collection of custom XML parts.

Excel.CustomXmlPartScopedCollection

A scoped collection of custom XML parts. A scoped collection is the result of some operation (e.g., filtering by namespace). A scoped collection cannot be scoped any further.

Excel.DataBarConditionalFormat

Represents an Excel conditional data bar type.

Excel.DataConnectionCollection

Represents a collection of all the data connections that are part of the workbook.

Excel.DataPivotHierarchy

Represents the Excel DataPivotHierarchy.

Excel.DataPivotHierarchyCollection

Represents a collection of DataPivotHierarchy items associated with the PivotTable.

Excel.DataValidation

Represents the data validation applied to the current range. To learn more about the data validation object model, readAdd data validation to Excel ranges.

Excel.DatetimeFormatInfo

Defines the culturally appropriate format of displaying numbers. This is based on current system culture settings.

Excel.DocumentProperties

Represents workbook properties.

Excel.DocumentTask

Represents a task.

Excel.DocumentTaskChange

Represents a recorded change to the task.

Excel.DocumentTaskChangeCollection

Represents a collection of change records for a task.

Excel.DocumentTaskCollection

Represents a collection of tasks.

Excel.Filter

Manages the filtering of a table's column.

Excel.FilterPivotHierarchy

Represents the Excel FilterPivotHierarchy.

Excel.FilterPivotHierarchyCollection

Represents a collection of FilterPivotHierarchy items associated with the PivotTable.

Excel.FormatProtection

Represents the format protection of a range object.

Excel.FunctionResult

An object containing the result of a function-evaluation operation

Excel.Functions

An object for evaluating Excel functions.

Excel.GeometricShape

Represents a geometric shape inside a worksheet. A geometric shape can be a rectangle, block arrow, equation symbol, flowchart item, star, banner, callout, or any other basic shape in Excel.

Excel.GroupShapeCollection

Represents the shape collection inside a shape group.

Excel.HeaderFooter
Excel.HeaderFooterGroup
Excel.IconSetConditionalFormat

Represents an icon set criteria for conditional formatting.

Excel.Image

Represents an image in the worksheet. To get the correspondingShape object, useImage.shape.

Excel.IterativeCalculation

Represents the iterative calculation settings.

Excel.Line

Represents a line inside a worksheet. To get the correspondingShape object, useLine.shape.

Excel.LinkedDataType

Represents a linked data type. A linked data type is a data type connected to an online data source.

Excel.LinkedDataTypeCollection

Represents a collection of linked data types.

Excel.LinkedEntityDataDomain

Represents a specific category or field of information that shares some common characteristics or attributes. A data domain is linked to a data provider, that acts as the data source forLinkedEntityCellValue objects in the workbook. A data domain is a category of data, such as stocks, geography, or currencies. A data provider is a service, such as Bing, Power BI, or an Office Add-in.

Excel.LinkedEntityDataDomainCollection

Represents a collection ofLinkedEntityDataDomain objects. The collection can contain linked entity data domains such as stocks, geography, or currencies defined by service data providers, such as Bing or Power BI, or linked entity data domains defined by Office Add-ins.

Excel.LinkedWorkbook

Contains information about a linked workbook. If a workbook has links pointing to data in another workbook, the second workbook is linked to the first workbook. In this scenario, the second workbook is called the "linked workbook".

Excel.LinkedWorkbookCollection

Represents a collection of linked workbook objects.

Excel.LocalImage

Provides information about the local image.

Excel.NamedItem

Represents a defined name for a range of cells or value. Names can be primitive named objects (as seen in the type below), range object, or a reference to a range. This object can be used to obtain range object associated with names.

Excel.NamedItemArrayValues

Represents an object containing values and types of a named item.

Excel.NamedItemCollection

A collection of all theNamedItem objects that are part of the workbook or worksheet, depending on how it was reached.

Excel.NamedSheetView

Represents a named sheet view of a worksheet. A sheet view stores the sort and filter rules for a particular worksheet. Every sheet view (even a temporary sheet view) has a unique, worksheet-scoped name that is used to access the view.

Excel.NamedSheetViewCollection

Represents the collection of sheet views in the worksheet.

Excel.Note

Represents a note in the workbook or worksheet.

Excel.NoteCollection

Represents a collection of note objects that are part of the workbook.

Excel.NumberFormatInfo

Defines the culturally appropriate format of displaying numbers. This is based on current system culture settings.

Excel.PageBreak
Excel.PageBreakCollection
Excel.PageLayout

Represents layout and print settings that are not dependent on any printer-specific implementation. These settings include margins, orientation, page numbering, title rows, and print area.

Excel.PivotField

Represents the Excel PivotField.

Excel.PivotFieldCollection

Represents a collection of all the PivotFields that are part of a PivotTable's hierarchy.

Excel.PivotHierarchy

Represents the Excel PivotHierarchy.

Excel.PivotHierarchyCollection

Represents a collection of all the PivotHierarchies that are part of the PivotTable.

Excel.PivotItem

Represents the Excel PivotItem.

Excel.PivotItemCollection

Represents a collection of all the PivotItems related to their parent PivotField.

Excel.PivotLayout

Represents the visual layout of the PivotTable.

Excel.PivotTable

Represents an Excel PivotTable. To learn more about the PivotTable object model, readWork with PivotTables using the Excel JavaScript API.

Excel.PivotTableCollection

Represents a collection of all the PivotTables that are part of the workbook or worksheet.

Excel.PivotTableScopedCollection

Represents a scoped collection of PivotTables. The PivotTables are sorted based on the location of the PivotTable's top-left corner. They are ordered top-to-bottom and then left-to-right.

Excel.PivotTableStyle

Represents a PivotTable style, which defines style elements by PivotTable region.

Excel.PivotTableStyleCollection

Represents a collection of PivotTable styles.

Excel.PresetCriteriaConditionalFormat

Represents the preset criteria conditional format such as above average, below average, unique values, contains blank, nonblank, error, and noerror.

Excel.Query

Represents a Power Query query.

Excel.QueryCollection

Represents the collection of queries in the workbook.

Excel.Range

Range represents a set of one or more contiguous cells such as a cell, a row, a column, or a block of cells. To learn more about how ranges are used throughout the API, start withRanges in the Excel JavaScript API.

Excel.RangeAreas

RangeAreas represents a collection of one or more rectangular ranges in the same worksheet. To learn how to use discontiguous ranges, readWork with multiple ranges simultaneously in Excel add-ins.

Excel.RangeAreasCollection

Contains the collection of cross-workbook level ranges.

Excel.RangeBorder

Represents the border of an object.

Excel.RangeBorderCollection

Represents the border objects that make up the range border.

Excel.RangeCollection
Excel.RangeFill

Represents the background of a range object.

Excel.RangeFont

This object represents the font attributes (font name, font size, color, etc.) for an object.

Excel.RangeFormat

A format object encapsulating the range's font, fill, borders, alignment, and other properties.

Excel.RangeSort

Manages sorting operations onRange objects.

Excel.RangeView

RangeView represents a set of visible cells of the parent range.

Excel.RangeViewCollection

Represents a collection ofRangeView objects.

Excel.RemoveDuplicatesResult

Represents the results fromRange.removeDuplicates.

Excel.RequestContext

The RequestContext object facilitates requests to the Excel application. Since the Office add-in and the Excel application run in two different processes, the request context is required to get access to the Excel object model from the add-in.

Excel.RowColumnPivotHierarchy

Represents the Excel RowColumnPivotHierarchy.

Excel.RowColumnPivotHierarchyCollection

Represents a collection of RowColumnPivotHierarchy items associated with the PivotTable.

Excel.Runtime

Represents the Excel Runtime class.

Excel.Setting

Setting represents a key-value pair of a setting persisted to the document (per file, per add-in). These custom key-value pair can be used to store state or lifecycle information needed by the content or task-pane add-in. Note that settings are persisted in the document and hence it is not a place to store any sensitive or protected information such as user information and password.

Excel.SettingCollection

Represents a collection of key-value pair setting objects that are part of the workbook. The scope is limited to per file and add-in (task-pane or content) combination.

Excel.Shape

Represents a generic shape object in the worksheet. A shape could be a geometric shape, a line, a group of shapes, etc. To learn more about the shape object model, readWork with shapes using the Excel JavaScript API.

Excel.ShapeCollection

Represents a collection of all the shapes in the worksheet.

Excel.ShapeFill

Represents the fill formatting of a shape object.

Excel.ShapeFont

Represents the font attributes, such as font name, font size, and color, for a shape'sTextRange object.

Excel.ShapeGroup

Represents a shape group inside a worksheet. To get the correspondingShape object, useShapeGroup.shape.

Excel.ShapeLineFormat

Represents the line formatting for the shape object. For images and geometric shapes, line formatting represents the border of the shape.

Excel.Slicer

Represents aSlicer object in the workbook.

Excel.SlicerCollection

Represents a collection of all the slicer objects in the workbook or a worksheet.

Excel.SlicerItem

Represents a slicer item in a slicer.

Excel.SlicerItemCollection

Represents a collection of all the slicer item objects in the slicer.

Excel.SlicerStyle

Represents a slicer style, which defines style elements by region of the slicer.

Excel.SlicerStyleCollection

Represents a collection ofSlicerStyle objects.

Excel.Style

An object encapsulating a style's format and other properties.

Excel.StyleCollection

Represents a collection of all the styles.

Excel.Table

Represents an Excel table. To learn more about the table object model, readWork with tables using the Excel JavaScript API.

Excel.TableCollection

Represents a collection of all the tables that are part of the workbook or worksheet, depending on how it was reached.

Excel.TableColumn

Represents a column in a table.

Excel.TableColumnCollection

Represents a collection of all the columns that are part of the table.

Excel.TableRow

Represents a row in a table.

Note that unlike ranges or columns, which will adjust if new rows or columns are added before them, aTableRow object represents the physical location of the table row, but not the data. That is, if the data is sorted or if new rows are added, a table row will continue to point at the index for which it was created.

Excel.TableRowCollection

Represents a collection of all the rows that are part of the table.

Note that unlike ranges or columns, which will adjust if new rows or columns are added before them, aTableRow object represents the physical location of the table row, but not the data. That is, if the data is sorted or if new rows are added, a table row will continue to point at the index for which it was created.

Excel.TableScopedCollection

Represents a scoped collection of tables. For each table its top-left corner is considered its anchor location, and the tables are sorted top-to-bottom and then left-to-right.

Excel.TableSort

Manages sorting operations onTable objects.

Excel.TableStyle

Represents a table style, which defines the style elements by region of the table.

Excel.TableStyleCollection

Represents a collection of table styles.

Excel.TextConditionalFormat

Represents a specific text conditional format.

Excel.TextFrame

Represents the text frame of a shape object.

Excel.TextRange

Contains the text that is attached to a shape, in addition to properties and methods for manipulating the text.

Excel.TimelineStyle

Represents aTimelineStyle, which defines style elements by region in the timeline.

Excel.TimelineStyleCollection

Represents a collection of timeline styles.

Excel.TopBottomConditionalFormat

Represents a top/bottom conditional format.

Excel.Workbook

Workbook is the top level object which contains related workbook objects such as worksheets, tables, and ranges. To learn more about the workbook object model, readWork with workbooks using the Excel JavaScript API.

Excel.WorkbookCreated

TheWorkbookCreated object is the top level object created byApplication.CreateWorkbook. AWorkbookCreated object is a special Workbook object.

Excel.WorkbookProtection

Represents the protection of a workbook object.

Excel.WorkbookRangeAreas

Represents a collection of one or more rectangular ranges in multiple worksheets.

Excel.Worksheet

An Excel worksheet is a grid of cells. It can contain data, tables, charts, etc. To learn more about the worksheet object model, readWork with worksheets using the Excel JavaScript API.

Excel.WorksheetCollection

Represents a collection of worksheet objects that are part of the workbook.

Excel.WorksheetCustomProperty

Represents a worksheet-level custom property.

Excel.WorksheetCustomPropertyCollection

Contains the collection of worksheet-level custom property.

Excel.WorksheetFreezePanes
Excel.WorksheetProtection

Represents the protection of a worksheet object.

Interfaces

Excel.AllowEditRangeOptions

The interface used to construct optional fields of theAllowEditRange object.

Excel.ArrayCellValue

Represents a 2D array of cell values.

Excel.Base64EncodedImage

The Base64-encoded type and data of an image.

Excel.BasicCardLayout

Represents a card layout used for the Boolean, double, and string basic types.

Excel.BasicCompactLayout

The basic compact layout properties.

Excel.BasicDataValidation

Represents the basic type data validation criteria.

Excel.BasicViewLayouts

Represents layout information for various views of the value and its properties.

Excel.BindingDataChangedEventArgs

Provides information about the binding that raised the data changed event.

Excel.BindingSelectionChangedEventArgs

Provides information about the selection that raised the selection changed event.

Note*: If multiple, discontiguous cells are selected,Binding.onSelectionChanged only reports row and column information for one selection. UseWorksheet.onSelectionChanged for multiple selected ranges.

Excel.BlockedErrorCellValue

Represents the value of a cell containing a #BLOCKED! error.

Excel.BooleanCellValue

Represents the value of a cell containing a Boolean.

Excel.BusyErrorCellValue

Represents the value of a cell containing a #BUSY! error.

Excel.CalcErrorCellValue

Represents the value of a cell containing a #CALC! error.

Excel.CardLayoutListSection

Represents a section of a card that is arranged as a list in card view.

Excel.CardLayoutPropertyReference

Represents a reference to a property used by the card layout.

Excel.CardLayoutSectionStandardProperties

Properties of a card layout relevant to most card layouts.

Excel.CardLayoutStandardProperties

Properties of a card layout relevant to most card layouts.

Excel.CardLayoutTableSection

Represents a section of a card that is arranged as a table in card view.

Excel.CardLayoutTwoColumnSection

Represents a section of a card that is arranged as two columns in card view.

Excel.CellBorder

Represents the properties of a single border returned bygetCellProperties,getRowProperties, andgetColumnProperties, or the border property input parameter ofsetCellProperties,setRowProperties, andsetColumnProperties.

Excel.CellBorderCollection

Represents theformat.borders properties ofgetCellProperties,getRowProperties, andgetColumnProperties, or theformat.borders input parameter ofsetCellProperties,setRowProperties, andsetColumnProperties.

Excel.CellProperties

Represents the returned properties of getCellProperties.

[API set: ExcelApi 1.9 ]

Excel.CellPropertiesBorderLoadOptions

Specifies which properties to load on theformat.borders object.

Excel.CellPropertiesFill

Represents theformat.fill properties ofgetCellProperties,getRowProperties, andgetColumnProperties or theformat.fill input parameter ofsetCellProperties,setRowProperties, andsetColumnProperties.

Excel.CellPropertiesFillLoadOptions

Specifies which properties to load on theformat.fill object.

Excel.CellPropertiesFont

Represents theformat.font properties ofgetCellProperties,getRowProperties, andgetColumnProperties, or theformat.font input parameter ofsetCellProperties,setRowProperties, andsetColumnProperties.

Excel.CellPropertiesFontLoadOptions

Specifies which properties to load on theformat.font object.

Excel.CellPropertiesFormat

Represents the returned format properties of getCellProperties or format input parameter of setCellProperties.

[API set: ExcelApi 1.9 ]

Excel.CellPropertiesFormatLoadOptions

Represents which properties to load on the format object.

[API set: ExcelApi 1.9 ]

Excel.CellPropertiesLoadOptions

Represents which cell properties to load, when used as part of a "range.getCellProperties" method.

[API set: ExcelApi 1.9 ]

Excel.CellPropertiesProtection

Represents theformat.protection properties ofgetCellProperties,getRowProperties, andgetColumnProperties, or theformat.protection input parameter ofsetCellProperties,setRowProperties, andsetColumnProperties.

Excel.CellValueAttributionAttributes

The attribution attributes object represents the set of details that can be used to describe where information came from, if the information comes from a public source.

Excel.CellValueExtraProperties

These extra properties may appear on aCellValue and provide information about thatCellValue, but the extra properties are not part of the value in the cell.

Excel.CellValuePropertyMetadata

Metadata about a property inEntityCellValue.properties.

Excel.CellValuePropertyMetadataExclusions

Represents the exclusion of a property inEntityCellValue.properties from features of Excel.

Excel.CellValueProviderAttributes

The provider attributes object represents the set of details used in card view to provide specified branding information for aCellValue type that supports provider attributes.

Excel.ChangedEventDetail

Provides information about the details of aWorksheetChangedEvent orTableChangedEvent.

Excel.ChangeDirectionState

Represents the direction that existing or remaining cells in a worksheet will shift when cells are inserted into or deleted from a worksheet.

Excel.ChartActivatedEventArgs

Provides information about the chart that raised the activated event.

Excel.ChartAddedEventArgs

Provides information about the chart that raised the added event.

Excel.ChartDeactivatedEventArgs

Provides information about the chart that raised the deactivated event.

Excel.ChartDeletedEventArgs

Provides information about the chart that raised the deleted event.

Excel.CheckboxCellControl

Represents a checkbox. This is a cell control that allows a user to toggle the boolean value in a cell.

Excel.ColumnProperties

Represents the returned properties of getColumnProperties.

[API set: ExcelApi 1.9 ]

Excel.ColumnPropertiesLoadOptions

Represents which column properties to load, when used as part of a "range.getColumnProperties" method.

[API set: ExcelApi 1.9 ]

Excel.CommentAddedEventArgs

Provides information about the comments that raised the comment added event.

Excel.CommentChangedEventArgs

Occurs when existing comments are changed.

Excel.CommentDeletedEventArgs

Provides information about the comments that raised the comment deleted event.

Excel.CommentDetail

A structure for the comment ID and IDs of its related replies.

Excel.CommentMention

Represents the entity that is mentioned in comments.

Excel.CommentRichContent

Represents the content contained within a comment or comment reply. Rich content incudes the text string and any other objects contained within the comment body, such as mentions.

Excel.ConditionalCellValueRule

Represents a cell value conditional format rule.

Excel.ConditionalColorScaleCriteria

Represents the criteria of the color scale.

Excel.ConditionalColorScaleCriterion

Represents a color scale criterion which contains a type, value, and a color.

Excel.ConditionalDataBarRule

Represents a rule-type for a data bar.

Excel.ConditionalIconCriterion

Represents an icon criterion which contains a type, value, an operator, and an optional custom icon, if not using an icon set.

Excel.ConditionalPresetCriteriaRule

Represents the preset criteria conditional format rule.

Excel.ConditionalTextComparisonRule

Represents a cell value conditional format rule.

Excel.ConditionalTopBottomRule

Represents the rule of the top/bottom conditional format.

Excel.ConnectErrorCellValue

Represents the value of a cell containing a #CONNECT! error.

Excel.CustomDataValidation

Represents the custom data validation criteria.

Excel.CustomFunctionVisibilityOptions

Represents which custom functions to show or hide in Excel AutoComplete.

Excel.DataValidationErrorAlert

Represents the error alert properties for the data validation.

Excel.DataValidationPrompt

Represents the user prompt properties for the data validation.

Excel.DataValidationRule

A data validation rule contains different types of data validation. You can only use one of them at a time according theExcel.DataValidationType.

Excel.DateTimeDataValidation

Represents the date data validation criteria.

Excel.Div0ErrorCellValue

Represents the value of a cell containing a #DIV/0! error.

Excel.DocumentTaskSchedule

Represents information about a task's schedule.

Excel.DoubleCellValue

Represents the value of a cell containing a double.

Excel.EmailIdentity

Represents information about a user's identity.

Excel.EmptyCellControl

Represents an empty cell control. This represents the state where a cell does not have a control.

Excel.EmptyCellValue

Represents the value of a cell that's empty and has no formulas or data.

Excel.EntityArrayCardLayout

Represents a card layout that is best used for an array.

Excel.EntityCardLayout

Represents a card layout that is best used for an entity.

Excel.EntityCellValue

Represents a set of properties without a schema or defined structure.

Excel.EntityCompactLayout

The compact layout properties for an entity.

Excel.EntityPropertyExtraProperties

Properties used byCellValueAndPropertyMetadata. These properties refer to the metadata and not to aCellValue.

Excel.EntityViewLayouts

Represents layout information for various views of the entity.

Excel.ExternalCodeServiceObjectCellValue

Represents the value of a cell containing an External Code Service Object, such as Python code formula.

Excel.ExternalErrorCellValue

Represents the value of a cell containing an #EXTERNAL! error.

Excel.FieldErrorCellValue

Represents the value of a cell containing a #FIELD! error.

Excel.FilterCriteria

Represents the filtering criteria applied to a column.

Excel.FilterDatetime

Represents how to filter a date when filtering on values.

Excel.FiveArrowsGraySet

[API set: ExcelApi 1.2 ]

Excel.FiveArrowsSet

[API set: ExcelApi 1.2 ]

Excel.FiveBoxesSet

[API set: ExcelApi 1.2 ]

Excel.FiveQuartersSet

[API set: ExcelApi 1.2 ]

Excel.FiveRatingSet

[API set: ExcelApi 1.2 ]

Excel.FormattedNumberCellValue

Represents the value of a cell containing a number with a format string. Number format strings must conform to Excel guidelines. To learn more, seeReview guidelines for customizing a number format. In this scenario, the format is applied to the value and not to the cell, so the value retains its format string throughout calculation.

Excel.FormulaChangedEventDetail

Provides information about a changed formula during a formula changed event.

Excel.FourArrowsGraySet

[API set: ExcelApi 1.2 ]

Excel.FourArrowsSet

[API set: ExcelApi 1.2 ]

Excel.FourRatingSet

[API set: ExcelApi 1.2 ]

Excel.FourRedToBlackSet

[API set: ExcelApi 1.2 ]

Excel.FourTrafficLightsSet

[API set: ExcelApi 1.2 ]

Excel.GettingDataErrorCellValue

Represents the value of a cell containing a #GETTING_DATA error.

Excel.Icon

Represents a cell icon.

Excel.IconCollections

[API set: ExcelApi 1.2 ]

Excel.Identity

Represents information about a user's identity.

Excel.InsertWorksheetOptions

The options that define which worksheets to insert and where in the workbook the new worksheets will be inserted.

Excel.Interfaces.AllowEditRangeCollectionData

An interface describing the data returned by callingallowEditRangeCollection.toJSON().

Excel.Interfaces.AllowEditRangeCollectionLoadOptions

Represents the set ofAllowEditRange objects found in a worksheet.AllowEditRange objects work with worksheet protection properties. When worksheet protection is enabled, anAllowEditRange object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.

Excel.Interfaces.AllowEditRangeCollectionUpdateData

An interface for updating data on theAllowEditRangeCollection object, for use inallowEditRangeCollection.set({ ... }).

Excel.Interfaces.AllowEditRangeData

An interface describing the data returned by callingallowEditRange.toJSON().

Excel.Interfaces.AllowEditRangeLoadOptions

Represents anAllowEditRange object found in a worksheet. This object works with worksheet protection properties. When worksheet protection is enabled, anAllowEditRange object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.

Excel.Interfaces.AllowEditRangeUpdateData

An interface for updating data on theAllowEditRange object, for use inallowEditRange.set({ ... }).

Excel.Interfaces.ApplicationData

An interface describing the data returned by callingapplication.toJSON().

Excel.Interfaces.ApplicationLoadOptions

Represents the Excel application that manages the workbook.

Excel.Interfaces.ApplicationUpdateData

An interface for updating data on theApplication object, for use inapplication.set({ ... }).

Excel.Interfaces.AutoFilterData

An interface describing the data returned by callingautoFilter.toJSON().

Excel.Interfaces.AutoFilterLoadOptions

Represents theAutoFilter object. AutoFilter turns the values in Excel column into specific filters based on the cell contents.

Excel.Interfaces.BindingCollectionData

An interface describing the data returned by callingbindingCollection.toJSON().

Excel.Interfaces.BindingCollectionLoadOptions

Represents the collection of all the binding objects that are part of the workbook.

Excel.Interfaces.BindingCollectionUpdateData

An interface for updating data on theBindingCollection object, for use inbindingCollection.set({ ... }).

Excel.Interfaces.BindingData

An interface describing the data returned by callingbinding.toJSON().

Excel.Interfaces.BindingLoadOptions

Represents an Office.js binding that is defined in the workbook.

Excel.Interfaces.CellValueConditionalFormatData

An interface describing the data returned by callingcellValueConditionalFormat.toJSON().

Excel.Interfaces.CellValueConditionalFormatLoadOptions

Represents a cell value conditional format.

Excel.Interfaces.CellValueConditionalFormatUpdateData

An interface for updating data on theCellValueConditionalFormat object, for use incellValueConditionalFormat.set({ ... }).

Excel.Interfaces.ChartAreaFormatData

An interface describing the data returned by callingchartAreaFormat.toJSON().

Excel.Interfaces.ChartAreaFormatLoadOptions

Encapsulates the format properties for the overall chart area.

Excel.Interfaces.ChartAreaFormatUpdateData

An interface for updating data on theChartAreaFormat object, for use inchartAreaFormat.set({ ... }).

Excel.Interfaces.ChartAxesData

An interface describing the data returned by callingchartAxes.toJSON().

Excel.Interfaces.ChartAxesLoadOptions

Represents the chart axes.

Excel.Interfaces.ChartAxesUpdateData

An interface for updating data on theChartAxes object, for use inchartAxes.set({ ... }).

Excel.Interfaces.ChartAxisData

An interface describing the data returned by callingchartAxis.toJSON().

Excel.Interfaces.ChartAxisFormatData

An interface describing the data returned by callingchartAxisFormat.toJSON().

Excel.Interfaces.ChartAxisFormatLoadOptions

Encapsulates the format properties for the chart axis.

Excel.Interfaces.ChartAxisFormatUpdateData

An interface for updating data on theChartAxisFormat object, for use inchartAxisFormat.set({ ... }).

Excel.Interfaces.ChartAxisLoadOptions

Represents a single axis in a chart.

Excel.Interfaces.ChartAxisTitleData

An interface describing the data returned by callingchartAxisTitle.toJSON().

Excel.Interfaces.ChartAxisTitleFormatData

An interface describing the data returned by callingchartAxisTitleFormat.toJSON().

Excel.Interfaces.ChartAxisTitleFormatLoadOptions

Represents the chart axis title formatting.

Excel.Interfaces.ChartAxisTitleFormatUpdateData

An interface for updating data on theChartAxisTitleFormat object, for use inchartAxisTitleFormat.set({ ... }).

Excel.Interfaces.ChartAxisTitleLoadOptions

Represents the title of a chart axis.

Excel.Interfaces.ChartAxisTitleUpdateData

An interface for updating data on theChartAxisTitle object, for use inchartAxisTitle.set({ ... }).

Excel.Interfaces.ChartAxisUpdateData

An interface for updating data on theChartAxis object, for use inchartAxis.set({ ... }).

Excel.Interfaces.ChartBinOptionsData

An interface describing the data returned by callingchartBinOptions.toJSON().

Excel.Interfaces.ChartBinOptionsLoadOptions

Encapsulates the bin options for histogram charts and pareto charts.

Excel.Interfaces.ChartBinOptionsUpdateData

An interface for updating data on theChartBinOptions object, for use inchartBinOptions.set({ ... }).

Excel.Interfaces.ChartBorderData

An interface describing the data returned by callingchartBorder.toJSON().

Excel.Interfaces.ChartBorderLoadOptions

Represents the border formatting of a chart element.

Excel.Interfaces.ChartBorderUpdateData

An interface for updating data on theChartBorder object, for use inchartBorder.set({ ... }).

Excel.Interfaces.ChartBoxwhiskerOptionsData

An interface describing the data returned by callingchartBoxwhiskerOptions.toJSON().

Excel.Interfaces.ChartBoxwhiskerOptionsLoadOptions

Represents the properties of a box and whisker chart.

Excel.Interfaces.ChartBoxwhiskerOptionsUpdateData

An interface for updating data on theChartBoxwhiskerOptions object, for use inchartBoxwhiskerOptions.set({ ... }).

Excel.Interfaces.ChartCollectionData

An interface describing the data returned by callingchartCollection.toJSON().

Excel.Interfaces.ChartCollectionLoadOptions

A collection of all the chart objects on a worksheet.

Excel.Interfaces.ChartCollectionUpdateData

An interface for updating data on theChartCollection object, for use inchartCollection.set({ ... }).

Excel.Interfaces.ChartData

An interface describing the data returned by callingchart.toJSON().

Excel.Interfaces.ChartDataLabelAnchorData

An interface describing the data returned by callingchartDataLabelAnchor.toJSON().

Excel.Interfaces.ChartDataLabelAnchorLoadOptions

Represents the chart data label anchor.

Excel.Interfaces.ChartDataLabelAnchorUpdateData

An interface for updating data on theChartDataLabelAnchor object, for use inchartDataLabelAnchor.set({ ... }).

Excel.Interfaces.ChartDataLabelData

An interface describing the data returned by callingchartDataLabel.toJSON().

Excel.Interfaces.ChartDataLabelFormatData

An interface describing the data returned by callingchartDataLabelFormat.toJSON().

Excel.Interfaces.ChartDataLabelFormatLoadOptions

Encapsulates the format properties for the chart data labels.

Excel.Interfaces.ChartDataLabelFormatUpdateData

An interface for updating data on theChartDataLabelFormat object, for use inchartDataLabelFormat.set({ ... }).

Excel.Interfaces.ChartDataLabelLoadOptions

Represents the data label of a chart point.

Excel.Interfaces.ChartDataLabelsData

An interface describing the data returned by callingchartDataLabels.toJSON().

Excel.Interfaces.ChartDataLabelsLoadOptions

Represents a collection of all the data labels on a chart point.

Excel.Interfaces.ChartDataLabelsUpdateData

An interface for updating data on theChartDataLabels object, for use inchartDataLabels.set({ ... }).

Excel.Interfaces.ChartDataLabelUpdateData

An interface for updating data on theChartDataLabel object, for use inchartDataLabel.set({ ... }).

Excel.Interfaces.ChartDataTableData

An interface describing the data returned by callingchartDataTable.toJSON().

Excel.Interfaces.ChartDataTableFormatData

An interface describing the data returned by callingchartDataTableFormat.toJSON().

Excel.Interfaces.ChartDataTableFormatLoadOptions

Represents the format of a chart data table.

Excel.Interfaces.ChartDataTableFormatUpdateData

An interface for updating data on theChartDataTableFormat object, for use inchartDataTableFormat.set({ ... }).

Excel.Interfaces.ChartDataTableLoadOptions

Represents the data table object of a chart.

Excel.Interfaces.ChartDataTableUpdateData

An interface for updating data on theChartDataTable object, for use inchartDataTable.set({ ... }).

Excel.Interfaces.ChartErrorBarsData

An interface describing the data returned by callingchartErrorBars.toJSON().

Excel.Interfaces.ChartErrorBarsFormatData

An interface describing the data returned by callingchartErrorBarsFormat.toJSON().

Excel.Interfaces.ChartErrorBarsFormatLoadOptions

Encapsulates the format properties for chart error bars.

Excel.Interfaces.ChartErrorBarsFormatUpdateData

An interface for updating data on theChartErrorBarsFormat object, for use inchartErrorBarsFormat.set({ ... }).

Excel.Interfaces.ChartErrorBarsLoadOptions

This object represents the attributes for a chart's error bars.

Excel.Interfaces.ChartErrorBarsUpdateData

An interface for updating data on theChartErrorBars object, for use inchartErrorBars.set({ ... }).

Excel.Interfaces.ChartFontData

An interface describing the data returned by callingchartFont.toJSON().

Excel.Interfaces.ChartFontLoadOptions

This object represents the font attributes (such as font name, font size, and color) for a chart object.

Excel.Interfaces.ChartFontUpdateData

An interface for updating data on theChartFont object, for use inchartFont.set({ ... }).

Excel.Interfaces.ChartFormatStringData

An interface describing the data returned by callingchartFormatString.toJSON().

Excel.Interfaces.ChartFormatStringLoadOptions

Represents the substring in chart related objects that contain text, like aChartTitle object orChartAxisTitle object.

Excel.Interfaces.ChartFormatStringUpdateData

An interface for updating data on theChartFormatString object, for use inchartFormatString.set({ ... }).

Excel.Interfaces.ChartGridlinesData

An interface describing the data returned by callingchartGridlines.toJSON().

Excel.Interfaces.ChartGridlinesFormatData

An interface describing the data returned by callingchartGridlinesFormat.toJSON().

Excel.Interfaces.ChartGridlinesFormatLoadOptions

Encapsulates the format properties for chart gridlines.

Excel.Interfaces.ChartGridlinesFormatUpdateData

An interface for updating data on theChartGridlinesFormat object, for use inchartGridlinesFormat.set({ ... }).

Excel.Interfaces.ChartGridlinesLoadOptions

Represents major or minor gridlines on a chart axis.

Excel.Interfaces.ChartGridlinesUpdateData

An interface for updating data on theChartGridlines object, for use inchartGridlines.set({ ... }).

Excel.Interfaces.ChartLeaderLinesData

An interface describing the data returned by callingchartLeaderLines.toJSON().

Excel.Interfaces.ChartLeaderLinesFormatData

An interface describing the data returned by callingchartLeaderLinesFormat.toJSON().

Excel.Interfaces.ChartLeaderLinesFormatLoadOptions

Encapsulates the format properties for leader lines.

Excel.Interfaces.ChartLeaderLinesFormatUpdateData

An interface for updating data on theChartLeaderLinesFormat object, for use inchartLeaderLinesFormat.set({ ... }).

Excel.Interfaces.ChartLeaderLinesLoadOptions

Gets an object that represents the formatting of chart leader lines.

Excel.Interfaces.ChartLeaderLinesUpdateData

An interface for updating data on theChartLeaderLines object, for use inchartLeaderLines.set({ ... }).

Excel.Interfaces.ChartLegendData

An interface describing the data returned by callingchartLegend.toJSON().

Excel.Interfaces.ChartLegendEntryCollectionData

An interface describing the data returned by callingchartLegendEntryCollection.toJSON().

Excel.Interfaces.ChartLegendEntryCollectionLoadOptions

Represents a collection of legend entries.

Excel.Interfaces.ChartLegendEntryCollectionUpdateData

An interface for updating data on theChartLegendEntryCollection object, for use inchartLegendEntryCollection.set({ ... }).

Excel.Interfaces.ChartLegendEntryData

An interface describing the data returned by callingchartLegendEntry.toJSON().

Excel.Interfaces.ChartLegendEntryLoadOptions

Represents the legend entry inlegendEntryCollection.

Excel.Interfaces.ChartLegendEntryUpdateData

An interface for updating data on theChartLegendEntry object, for use inchartLegendEntry.set({ ... }).

Excel.Interfaces.ChartLegendFormatData

An interface describing the data returned by callingchartLegendFormat.toJSON().

Excel.Interfaces.ChartLegendFormatLoadOptions

Encapsulates the format properties of a chart legend.

Excel.Interfaces.ChartLegendFormatUpdateData

An interface for updating data on theChartLegendFormat object, for use inchartLegendFormat.set({ ... }).

Excel.Interfaces.ChartLegendLoadOptions

Represents the legend in a chart.

Excel.Interfaces.ChartLegendUpdateData

An interface for updating data on theChartLegend object, for use inchartLegend.set({ ... }).

Excel.Interfaces.ChartLineFormatData

An interface describing the data returned by callingchartLineFormat.toJSON().

Excel.Interfaces.ChartLineFormatLoadOptions

Encapsulates the formatting options for line elements.

Excel.Interfaces.ChartLineFormatUpdateData

An interface for updating data on theChartLineFormat object, for use inchartLineFormat.set({ ... }).

Excel.Interfaces.ChartLoadOptions

Represents a chart object in a workbook. To learn more about the chart object model, seeWork with charts using the Excel JavaScript API.

Excel.Interfaces.ChartMapOptionsData

An interface describing the data returned by callingchartMapOptions.toJSON().

Excel.Interfaces.ChartMapOptionsLoadOptions

Encapsulates the properties for a region map chart.

Excel.Interfaces.ChartMapOptionsUpdateData

An interface for updating data on theChartMapOptions object, for use inchartMapOptions.set({ ... }).

Excel.Interfaces.ChartPivotOptionsData

An interface describing the data returned by callingchartPivotOptions.toJSON().

Excel.Interfaces.ChartPivotOptionsLoadOptions

Encapsulates the options for the pivot chart.

Excel.Interfaces.ChartPivotOptionsUpdateData

An interface for updating data on theChartPivotOptions object, for use inchartPivotOptions.set({ ... }).

Excel.Interfaces.ChartPlotAreaData

An interface describing the data returned by callingchartPlotArea.toJSON().

Excel.Interfaces.ChartPlotAreaFormatData

An interface describing the data returned by callingchartPlotAreaFormat.toJSON().

Excel.Interfaces.ChartPlotAreaFormatLoadOptions

Represents the format properties for a chart plot area.

Excel.Interfaces.ChartPlotAreaFormatUpdateData

An interface for updating data on theChartPlotAreaFormat object, for use inchartPlotAreaFormat.set({ ... }).

Excel.Interfaces.ChartPlotAreaLoadOptions

This object represents the attributes for a chart plot area.

Excel.Interfaces.ChartPlotAreaUpdateData

An interface for updating data on theChartPlotArea object, for use inchartPlotArea.set({ ... }).

Excel.Interfaces.ChartPointData

An interface describing the data returned by callingchartPoint.toJSON().

Excel.Interfaces.ChartPointFormatData

An interface describing the data returned by callingchartPointFormat.toJSON().

Excel.Interfaces.ChartPointFormatLoadOptions

Represents the formatting object for chart points.

Excel.Interfaces.ChartPointFormatUpdateData

An interface for updating data on theChartPointFormat object, for use inchartPointFormat.set({ ... }).

Excel.Interfaces.ChartPointLoadOptions

Represents a point of a series in a chart.

Excel.Interfaces.ChartPointsCollectionData

An interface describing the data returned by callingchartPointsCollection.toJSON().

Excel.Interfaces.ChartPointsCollectionLoadOptions

A collection of all the chart points within a series inside a chart.

Excel.Interfaces.ChartPointsCollectionUpdateData

An interface for updating data on theChartPointsCollection object, for use inchartPointsCollection.set({ ... }).

Excel.Interfaces.ChartPointUpdateData

An interface for updating data on theChartPoint object, for use inchartPoint.set({ ... }).

Excel.Interfaces.ChartSeriesCollectionData

An interface describing the data returned by callingchartSeriesCollection.toJSON().

Excel.Interfaces.ChartSeriesCollectionLoadOptions

Represents a collection of chart series.

Excel.Interfaces.ChartSeriesCollectionUpdateData

An interface for updating data on theChartSeriesCollection object, for use inchartSeriesCollection.set({ ... }).

Excel.Interfaces.ChartSeriesData

An interface describing the data returned by callingchartSeries.toJSON().

Excel.Interfaces.ChartSeriesFormatData

An interface describing the data returned by callingchartSeriesFormat.toJSON().

Excel.Interfaces.ChartSeriesFormatLoadOptions

Encapsulates the format properties for the chart series

Excel.Interfaces.ChartSeriesFormatUpdateData

An interface for updating data on theChartSeriesFormat object, for use inchartSeriesFormat.set({ ... }).

Excel.Interfaces.ChartSeriesLoadOptions

Represents a series in a chart.

Excel.Interfaces.ChartSeriesUpdateData

An interface for updating data on theChartSeries object, for use inchartSeries.set({ ... }).

Excel.Interfaces.ChartTitleData

An interface describing the data returned by callingchartTitle.toJSON().

Excel.Interfaces.ChartTitleFormatData

An interface describing the data returned by callingchartTitleFormat.toJSON().

Excel.Interfaces.ChartTitleFormatLoadOptions

Provides access to the formatting options for a chart title.

Excel.Interfaces.ChartTitleFormatUpdateData

An interface for updating data on theChartTitleFormat object, for use inchartTitleFormat.set({ ... }).

Excel.Interfaces.ChartTitleLoadOptions

Represents a chart title object of a chart.

Excel.Interfaces.ChartTitleUpdateData

An interface for updating data on theChartTitle object, for use inchartTitle.set({ ... }).

Excel.Interfaces.ChartTrendlineCollectionData

An interface describing the data returned by callingchartTrendlineCollection.toJSON().

Excel.Interfaces.ChartTrendlineCollectionLoadOptions

Represents a collection of chart trendlines.

Excel.Interfaces.ChartTrendlineCollectionUpdateData

An interface for updating data on theChartTrendlineCollection object, for use inchartTrendlineCollection.set({ ... }).

Excel.Interfaces.ChartTrendlineData

An interface describing the data returned by callingchartTrendline.toJSON().

Excel.Interfaces.ChartTrendlineFormatData

An interface describing the data returned by callingchartTrendlineFormat.toJSON().

Excel.Interfaces.ChartTrendlineFormatLoadOptions

Represents the format properties for the chart trendline.

Excel.Interfaces.ChartTrendlineFormatUpdateData

An interface for updating data on theChartTrendlineFormat object, for use inchartTrendlineFormat.set({ ... }).

Excel.Interfaces.ChartTrendlineLabelData

An interface describing the data returned by callingchartTrendlineLabel.toJSON().

Excel.Interfaces.ChartTrendlineLabelFormatData

An interface describing the data returned by callingchartTrendlineLabelFormat.toJSON().

Excel.Interfaces.ChartTrendlineLabelFormatLoadOptions

Encapsulates the format properties for the chart trendline label.

Excel.Interfaces.ChartTrendlineLabelFormatUpdateData

An interface for updating data on theChartTrendlineLabelFormat object, for use inchartTrendlineLabelFormat.set({ ... }).

Excel.Interfaces.ChartTrendlineLabelLoadOptions

This object represents the attributes for a chart trendline label object.

Excel.Interfaces.ChartTrendlineLabelUpdateData

An interface for updating data on theChartTrendlineLabel object, for use inchartTrendlineLabel.set({ ... }).

Excel.Interfaces.ChartTrendlineLoadOptions

This object represents the attributes for a chart trendline object.

Excel.Interfaces.ChartTrendlineUpdateData

An interface for updating data on theChartTrendline object, for use inchartTrendline.set({ ... }).

Excel.Interfaces.ChartUpdateData

An interface for updating data on theChart object, for use inchart.set({ ... }).

Excel.Interfaces.CollectionLoadOptions

Provides ways to load properties of only a subset of members of a collection.

Excel.Interfaces.ColorScaleConditionalFormatData

An interface describing the data returned by callingcolorScaleConditionalFormat.toJSON().

Excel.Interfaces.ColorScaleConditionalFormatLoadOptions

Represents the color scale criteria for conditional formatting.

Excel.Interfaces.ColorScaleConditionalFormatUpdateData

An interface for updating data on theColorScaleConditionalFormat object, for use incolorScaleConditionalFormat.set({ ... }).

Excel.Interfaces.CommentCollectionData

An interface describing the data returned by callingcommentCollection.toJSON().

Excel.Interfaces.CommentCollectionLoadOptions

Represents a collection of comment objects that are part of the workbook.

Excel.Interfaces.CommentCollectionUpdateData

An interface for updating data on theCommentCollection object, for use incommentCollection.set({ ... }).

Excel.Interfaces.CommentData

An interface describing the data returned by callingcomment.toJSON().

Excel.Interfaces.CommentLoadOptions

Represents a comment in the workbook.

Excel.Interfaces.CommentReplyCollectionData

An interface describing the data returned by callingcommentReplyCollection.toJSON().

Excel.Interfaces.CommentReplyCollectionLoadOptions

Represents a collection of comment reply objects that are part of the comment.

Excel.Interfaces.CommentReplyCollectionUpdateData

An interface for updating data on theCommentReplyCollection object, for use incommentReplyCollection.set({ ... }).

Excel.Interfaces.CommentReplyData

An interface describing the data returned by callingcommentReply.toJSON().

Excel.Interfaces.CommentReplyLoadOptions

Represents a comment reply in the workbook.

Excel.Interfaces.CommentReplyUpdateData

An interface for updating data on theCommentReply object, for use incommentReply.set({ ... }).

Excel.Interfaces.CommentUpdateData

An interface for updating data on theComment object, for use incomment.set({ ... }).

Excel.Interfaces.ConditionalDataBarNegativeFormatData

An interface describing the data returned by callingconditionalDataBarNegativeFormat.toJSON().

Excel.Interfaces.ConditionalDataBarNegativeFormatLoadOptions

Represents a conditional format for the negative side of the data bar.

Excel.Interfaces.ConditionalDataBarNegativeFormatUpdateData

An interface for updating data on theConditionalDataBarNegativeFormat object, for use inconditionalDataBarNegativeFormat.set({ ... }).

Excel.Interfaces.ConditionalDataBarPositiveFormatData

An interface describing the data returned by callingconditionalDataBarPositiveFormat.toJSON().

Excel.Interfaces.ConditionalDataBarPositiveFormatLoadOptions

Represents a conditional format for the positive side of the data bar.

Excel.Interfaces.ConditionalDataBarPositiveFormatUpdateData

An interface for updating data on theConditionalDataBarPositiveFormat object, for use inconditionalDataBarPositiveFormat.set({ ... }).

Excel.Interfaces.ConditionalFormatCollectionData

An interface describing the data returned by callingconditionalFormatCollection.toJSON().

Excel.Interfaces.ConditionalFormatCollectionLoadOptions

Represents a collection of all the conditional formats that are overlap the range.

Excel.Interfaces.ConditionalFormatCollectionUpdateData

An interface for updating data on theConditionalFormatCollection object, for use inconditionalFormatCollection.set({ ... }).

Excel.Interfaces.ConditionalFormatData

An interface describing the data returned by callingconditionalFormat.toJSON().

Excel.Interfaces.ConditionalFormatLoadOptions

An object encapsulating a conditional format's range, format, rule, and other properties. To learn more about the conditional formatting object model, readApply conditional formatting to Excel ranges.

Excel.Interfaces.ConditionalFormatRuleData

An interface describing the data returned by callingconditionalFormatRule.toJSON().

Excel.Interfaces.ConditionalFormatRuleLoadOptions

Represents a rule, for all traditional rule/format pairings.

Excel.Interfaces.ConditionalFormatRuleUpdateData

An interface for updating data on theConditionalFormatRule object, for use inconditionalFormatRule.set({ ... }).

Excel.Interfaces.ConditionalFormatUpdateData

An interface for updating data on theConditionalFormat object, for use inconditionalFormat.set({ ... }).

Excel.Interfaces.ConditionalRangeBorderCollectionData

An interface describing the data returned by callingconditionalRangeBorderCollection.toJSON().

Excel.Interfaces.ConditionalRangeBorderCollectionLoadOptions

Represents the border objects that make up range border.

Excel.Interfaces.ConditionalRangeBorderCollectionUpdateData

An interface for updating data on theConditionalRangeBorderCollection object, for use inconditionalRangeBorderCollection.set({ ... }).

Excel.Interfaces.ConditionalRangeBorderData

An interface describing the data returned by callingconditionalRangeBorder.toJSON().

Excel.Interfaces.ConditionalRangeBorderLoadOptions

Represents the border of an object.

Excel.Interfaces.ConditionalRangeBorderUpdateData

An interface for updating data on theConditionalRangeBorder object, for use inconditionalRangeBorder.set({ ... }).

Excel.Interfaces.ConditionalRangeFillData

An interface describing the data returned by callingconditionalRangeFill.toJSON().

Excel.Interfaces.ConditionalRangeFillLoadOptions

Represents the background of a conditional range object.

Excel.Interfaces.ConditionalRangeFillUpdateData

An interface for updating data on theConditionalRangeFill object, for use inconditionalRangeFill.set({ ... }).

Excel.Interfaces.ConditionalRangeFontData

An interface describing the data returned by callingconditionalRangeFont.toJSON().

Excel.Interfaces.ConditionalRangeFontLoadOptions

This object represents the font attributes (font style, color, etc.) for an object.

Excel.Interfaces.ConditionalRangeFontUpdateData

An interface for updating data on theConditionalRangeFont object, for use inconditionalRangeFont.set({ ... }).

Excel.Interfaces.ConditionalRangeFormatData

An interface describing the data returned by callingconditionalRangeFormat.toJSON().

Excel.Interfaces.ConditionalRangeFormatLoadOptions

A format object encapsulating the conditional formats range's font, fill, borders, and other properties.

Excel.Interfaces.ConditionalRangeFormatUpdateData

An interface for updating data on theConditionalRangeFormat object, for use inconditionalRangeFormat.set({ ... }).

Excel.Interfaces.CultureInfoData

An interface describing the data returned by callingcultureInfo.toJSON().

Excel.Interfaces.CultureInfoLoadOptions

Provides information based on current system culture settings. This includes the culture names, number formatting, and other culturally dependent settings.

Excel.Interfaces.CustomConditionalFormatData

An interface describing the data returned by callingcustomConditionalFormat.toJSON().

Excel.Interfaces.CustomConditionalFormatLoadOptions

Represents a custom conditional format type.

Excel.Interfaces.CustomConditionalFormatUpdateData

An interface for updating data on theCustomConditionalFormat object, for use incustomConditionalFormat.set({ ... }).

Excel.Interfaces.CustomFunctionManagerData

An interface describing the data returned by callingcustomFunctionManager.toJSON().

Excel.Interfaces.CustomPropertyCollectionData

An interface describing the data returned by callingcustomPropertyCollection.toJSON().

Excel.Interfaces.CustomPropertyCollectionLoadOptions

Contains the collection of custom properties.

Excel.Interfaces.CustomPropertyCollectionUpdateData

An interface for updating data on theCustomPropertyCollection object, for use incustomPropertyCollection.set({ ... }).

Excel.Interfaces.CustomPropertyData

An interface describing the data returned by callingcustomProperty.toJSON().

Excel.Interfaces.CustomPropertyLoadOptions

Represents a custom property.

Excel.Interfaces.CustomPropertyUpdateData

An interface for updating data on theCustomProperty object, for use incustomProperty.set({ ... }).

Excel.Interfaces.CustomXmlPartCollectionData

An interface describing the data returned by callingcustomXmlPartCollection.toJSON().

Excel.Interfaces.CustomXmlPartCollectionLoadOptions

A collection of custom XML parts.

Excel.Interfaces.CustomXmlPartCollectionUpdateData

An interface for updating data on theCustomXmlPartCollection object, for use incustomXmlPartCollection.set({ ... }).

Excel.Interfaces.CustomXmlPartData

An interface describing the data returned by callingcustomXmlPart.toJSON().

Excel.Interfaces.CustomXmlPartLoadOptions

Represents a custom XML part object in a workbook.

Excel.Interfaces.CustomXmlPartScopedCollectionData

An interface describing the data returned by callingcustomXmlPartScopedCollection.toJSON().

Excel.Interfaces.CustomXmlPartScopedCollectionLoadOptions

A scoped collection of custom XML parts. A scoped collection is the result of some operation (e.g., filtering by namespace). A scoped collection cannot be scoped any further.

Excel.Interfaces.CustomXmlPartScopedCollectionUpdateData

An interface for updating data on theCustomXmlPartScopedCollection object, for use incustomXmlPartScopedCollection.set({ ... }).

Excel.Interfaces.DataBarConditionalFormatData

An interface describing the data returned by callingdataBarConditionalFormat.toJSON().

Excel.Interfaces.DataBarConditionalFormatLoadOptions

Represents an Excel conditional data bar type.

Excel.Interfaces.DataBarConditionalFormatUpdateData

An interface for updating data on theDataBarConditionalFormat object, for use indataBarConditionalFormat.set({ ... }).

Excel.Interfaces.DataPivotHierarchyCollectionData

An interface describing the data returned by callingdataPivotHierarchyCollection.toJSON().

Excel.Interfaces.DataPivotHierarchyCollectionLoadOptions

Represents a collection of DataPivotHierarchy items associated with the PivotTable.

Excel.Interfaces.DataPivotHierarchyCollectionUpdateData

An interface for updating data on theDataPivotHierarchyCollection object, for use indataPivotHierarchyCollection.set({ ... }).

Excel.Interfaces.DataPivotHierarchyData

An interface describing the data returned by callingdataPivotHierarchy.toJSON().

Excel.Interfaces.DataPivotHierarchyLoadOptions

Represents the Excel DataPivotHierarchy.

Excel.Interfaces.DataPivotHierarchyUpdateData

An interface for updating data on theDataPivotHierarchy object, for use indataPivotHierarchy.set({ ... }).

Excel.Interfaces.DataValidationData

An interface describing the data returned by callingdataValidation.toJSON().

Excel.Interfaces.DataValidationLoadOptions

Represents the data validation applied to the current range. To learn more about the data validation object model, readAdd data validation to Excel ranges.

Excel.Interfaces.DataValidationUpdateData

An interface for updating data on theDataValidation object, for use indataValidation.set({ ... }).

Excel.Interfaces.DatetimeFormatInfoData

An interface describing the data returned by callingdatetimeFormatInfo.toJSON().

Excel.Interfaces.DatetimeFormatInfoLoadOptions

Defines the culturally appropriate format of displaying numbers. This is based on current system culture settings.

Excel.Interfaces.DocumentPropertiesData

An interface describing the data returned by callingdocumentProperties.toJSON().

Excel.Interfaces.DocumentPropertiesLoadOptions

Represents workbook properties.

Excel.Interfaces.DocumentPropertiesUpdateData

An interface for updating data on theDocumentProperties object, for use indocumentProperties.set({ ... }).

Excel.Interfaces.DocumentTaskChangeCollectionData

An interface describing the data returned by callingdocumentTaskChangeCollection.toJSON().

Excel.Interfaces.DocumentTaskChangeCollectionLoadOptions

Represents a collection of change records for a task.

Excel.Interfaces.DocumentTaskChangeCollectionUpdateData

An interface for updating data on theDocumentTaskChangeCollection object, for use indocumentTaskChangeCollection.set({ ... }).

Excel.Interfaces.DocumentTaskChangeData

An interface describing the data returned by callingdocumentTaskChange.toJSON().

Excel.Interfaces.DocumentTaskChangeLoadOptions

Represents a recorded change to the task.

Excel.Interfaces.DocumentTaskCollectionData

An interface describing the data returned by callingdocumentTaskCollection.toJSON().

Excel.Interfaces.DocumentTaskCollectionLoadOptions

Represents a collection of tasks.

Excel.Interfaces.DocumentTaskCollectionUpdateData

An interface for updating data on theDocumentTaskCollection object, for use indocumentTaskCollection.set({ ... }).

Excel.Interfaces.DocumentTaskData

An interface describing the data returned by callingdocumentTask.toJSON().

Excel.Interfaces.DocumentTaskLoadOptions

Represents a task.

Excel.Interfaces.DocumentTaskUpdateData

An interface for updating data on theDocumentTask object, for use indocumentTask.set({ ... }).

Excel.Interfaces.FilterData

An interface describing the data returned by callingfilter.toJSON().

Excel.Interfaces.FilterLoadOptions

Manages the filtering of a table's column.

Excel.Interfaces.FilterPivotHierarchyCollectionData

An interface describing the data returned by callingfilterPivotHierarchyCollection.toJSON().

Excel.Interfaces.FilterPivotHierarchyCollectionLoadOptions

Represents a collection of FilterPivotHierarchy items associated with the PivotTable.

Excel.Interfaces.FilterPivotHierarchyCollectionUpdateData

An interface for updating data on theFilterPivotHierarchyCollection object, for use infilterPivotHierarchyCollection.set({ ... }).

Excel.Interfaces.FilterPivotHierarchyData

An interface describing the data returned by callingfilterPivotHierarchy.toJSON().

Excel.Interfaces.FilterPivotHierarchyLoadOptions

Represents the Excel FilterPivotHierarchy.

Excel.Interfaces.FilterPivotHierarchyUpdateData

An interface for updating data on theFilterPivotHierarchy object, for use infilterPivotHierarchy.set({ ... }).

Excel.Interfaces.FormatProtectionData

An interface describing the data returned by callingformatProtection.toJSON().

Excel.Interfaces.FormatProtectionLoadOptions

Represents the format protection of a range object.

Excel.Interfaces.FormatProtectionUpdateData

An interface for updating data on theFormatProtection object, for use informatProtection.set({ ... }).

Excel.Interfaces.FunctionResultData

An interface describing the data returned by callingfunctionResult.toJSON().

Excel.Interfaces.FunctionResultLoadOptions

An object containing the result of a function-evaluation operation

Excel.Interfaces.GeometricShapeData

An interface describing the data returned by callinggeometricShape.toJSON().

Excel.Interfaces.GeometricShapeLoadOptions

Represents a geometric shape inside a worksheet. A geometric shape can be a rectangle, block arrow, equation symbol, flowchart item, star, banner, callout, or any other basic shape in Excel.

Excel.Interfaces.GroupShapeCollectionData

An interface describing the data returned by callinggroupShapeCollection.toJSON().

Excel.Interfaces.GroupShapeCollectionLoadOptions

Represents the shape collection inside a shape group.

Excel.Interfaces.GroupShapeCollectionUpdateData

An interface for updating data on theGroupShapeCollection object, for use ingroupShapeCollection.set({ ... }).

Excel.Interfaces.HeaderFooterData

An interface describing the data returned by callingheaderFooter.toJSON().

Excel.Interfaces.HeaderFooterGroupData

An interface describing the data returned by callingheaderFooterGroup.toJSON().

Excel.Interfaces.HeaderFooterGroupLoadOptions
Excel.Interfaces.HeaderFooterGroupUpdateData

An interface for updating data on theHeaderFooterGroup object, for use inheaderFooterGroup.set({ ... }).

Excel.Interfaces.HeaderFooterLoadOptions
Excel.Interfaces.HeaderFooterUpdateData

An interface for updating data on theHeaderFooter object, for use inheaderFooter.set({ ... }).

Excel.Interfaces.IconSetConditionalFormatData

An interface describing the data returned by callingiconSetConditionalFormat.toJSON().

Excel.Interfaces.IconSetConditionalFormatLoadOptions

Represents an icon set criteria for conditional formatting.

Excel.Interfaces.IconSetConditionalFormatUpdateData

An interface for updating data on theIconSetConditionalFormat object, for use iniconSetConditionalFormat.set({ ... }).

Excel.Interfaces.ImageData

An interface describing the data returned by callingimage.toJSON().

Excel.Interfaces.ImageLoadOptions

Represents an image in the worksheet. To get the correspondingShape object, useImage.shape.

Excel.Interfaces.IterativeCalculationData

An interface describing the data returned by callingiterativeCalculation.toJSON().

Excel.Interfaces.IterativeCalculationLoadOptions

Represents the iterative calculation settings.

Excel.Interfaces.IterativeCalculationUpdateData

An interface for updating data on theIterativeCalculation object, for use initerativeCalculation.set({ ... }).

Excel.Interfaces.LineData

An interface describing the data returned by callingline.toJSON().

Excel.Interfaces.LineLoadOptions

Represents a line inside a worksheet. To get the correspondingShape object, useLine.shape.

Excel.Interfaces.LineUpdateData

An interface for updating data on theLine object, for use inline.set({ ... }).

Excel.Interfaces.LinkedDataTypeCollectionData

An interface describing the data returned by callinglinkedDataTypeCollection.toJSON().

Excel.Interfaces.LinkedDataTypeCollectionLoadOptions

Represents a collection of linked data types.

Excel.Interfaces.LinkedDataTypeCollectionUpdateData

An interface for updating data on theLinkedDataTypeCollection object, for use inlinkedDataTypeCollection.set({ ... }).

Excel.Interfaces.LinkedDataTypeData

An interface describing the data returned by callinglinkedDataType.toJSON().

Excel.Interfaces.LinkedDataTypeLoadOptions

Represents a linked data type. A linked data type is a data type connected to an online data source.

Excel.Interfaces.LinkedEntityDataDomainCollectionData

An interface describing the data returned by callinglinkedEntityDataDomainCollection.toJSON().

Excel.Interfaces.LinkedEntityDataDomainCollectionLoadOptions

Represents a collection ofLinkedEntityDataDomain objects. The collection can contain linked entity data domains such as stocks, geography, or currencies defined by service data providers, such as Bing or Power BI, or linked entity data domains defined by Office Add-ins.

Excel.Interfaces.LinkedEntityDataDomainCollectionUpdateData

An interface for updating data on theLinkedEntityDataDomainCollection object, for use inlinkedEntityDataDomainCollection.set({ ... }).

Excel.Interfaces.LinkedEntityDataDomainData

An interface describing the data returned by callinglinkedEntityDataDomain.toJSON().

Excel.Interfaces.LinkedEntityDataDomainLoadOptions

Represents a specific category or field of information that shares some common characteristics or attributes. A data domain is linked to a data provider, that acts as the data source forLinkedEntityCellValue objects in the workbook. A data domain is a category of data, such as stocks, geography, or currencies. A data provider is a service, such as Bing, Power BI, or an Office Add-in.

Excel.Interfaces.LinkedEntityDataDomainUpdateData

An interface for updating data on theLinkedEntityDataDomain object, for use inlinkedEntityDataDomain.set({ ... }).

Excel.Interfaces.LinkedWorkbookCollectionData

An interface describing the data returned by callinglinkedWorkbookCollection.toJSON().

Excel.Interfaces.LinkedWorkbookCollectionLoadOptions

Represents a collection of linked workbook objects.

Excel.Interfaces.LinkedWorkbookCollectionUpdateData

An interface for updating data on theLinkedWorkbookCollection object, for use inlinkedWorkbookCollection.set({ ... }).

Excel.Interfaces.LinkedWorkbookData

An interface describing the data returned by callinglinkedWorkbook.toJSON().

Excel.Interfaces.LinkedWorkbookLoadOptions

Contains information about a linked workbook. If a workbook has links pointing to data in another workbook, the second workbook is linked to the first workbook. In this scenario, the second workbook is called the "linked workbook".

Excel.Interfaces.NamedItemArrayValuesData

An interface describing the data returned by callingnamedItemArrayValues.toJSON().

Excel.Interfaces.NamedItemArrayValuesLoadOptions

Represents an object containing values and types of a named item.

Excel.Interfaces.NamedItemCollectionData

An interface describing the data returned by callingnamedItemCollection.toJSON().

Excel.Interfaces.NamedItemCollectionLoadOptions

A collection of all theNamedItem objects that are part of the workbook or worksheet, depending on how it was reached.

Excel.Interfaces.NamedItemCollectionUpdateData

An interface for updating data on theNamedItemCollection object, for use innamedItemCollection.set({ ... }).

Excel.Interfaces.NamedItemData

An interface describing the data returned by callingnamedItem.toJSON().

Excel.Interfaces.NamedItemLoadOptions

Represents a defined name for a range of cells or value. Names can be primitive named objects (as seen in the type below), range object, or a reference to a range. This object can be used to obtain range object associated with names.

Excel.Interfaces.NamedItemUpdateData

An interface for updating data on theNamedItem object, for use innamedItem.set({ ... }).

Excel.Interfaces.NamedSheetViewCollectionData

An interface describing the data returned by callingnamedSheetViewCollection.toJSON().

Excel.Interfaces.NamedSheetViewCollectionLoadOptions

Represents the collection of sheet views in the worksheet.

Excel.Interfaces.NamedSheetViewCollectionUpdateData

An interface for updating data on theNamedSheetViewCollection object, for use innamedSheetViewCollection.set({ ... }).

Excel.Interfaces.NamedSheetViewData

An interface describing the data returned by callingnamedSheetView.toJSON().

Excel.Interfaces.NamedSheetViewLoadOptions

Represents a named sheet view of a worksheet. A sheet view stores the sort and filter rules for a particular worksheet. Every sheet view (even a temporary sheet view) has a unique, worksheet-scoped name that is used to access the view.

Excel.Interfaces.NamedSheetViewUpdateData

An interface for updating data on theNamedSheetView object, for use innamedSheetView.set({ ... }).

Excel.Interfaces.NoteCollectionData

An interface describing the data returned by callingnoteCollection.toJSON().

Excel.Interfaces.NoteCollectionLoadOptions

Represents a collection of note objects that are part of the workbook.

Excel.Interfaces.NoteCollectionUpdateData

An interface for updating data on theNoteCollection object, for use innoteCollection.set({ ... }).

Excel.Interfaces.NoteData

An interface describing the data returned by callingnote.toJSON().

Excel.Interfaces.NoteLoadOptions

Represents a note in the workbook or worksheet.

Excel.Interfaces.NoteUpdateData

An interface for updating data on theNote object, for use innote.set({ ... }).

Excel.Interfaces.NumberFormatInfoData

An interface describing the data returned by callingnumberFormatInfo.toJSON().

Excel.Interfaces.NumberFormatInfoLoadOptions

Defines the culturally appropriate format of displaying numbers. This is based on current system culture settings.

Excel.Interfaces.PageBreakCollectionData

An interface describing the data returned by callingpageBreakCollection.toJSON().

Excel.Interfaces.PageBreakCollectionLoadOptions
Excel.Interfaces.PageBreakCollectionUpdateData

An interface for updating data on thePageBreakCollection object, for use inpageBreakCollection.set({ ... }).

Excel.Interfaces.PageBreakData

An interface describing the data returned by callingpageBreak.toJSON().

Excel.Interfaces.PageBreakLoadOptions
Excel.Interfaces.PageLayoutData

An interface describing the data returned by callingpageLayout.toJSON().

Excel.Interfaces.PageLayoutLoadOptions

Represents layout and print settings that are not dependent on any printer-specific implementation. These settings include margins, orientation, page numbering, title rows, and print area.

Excel.Interfaces.PageLayoutUpdateData

An interface for updating data on thePageLayout object, for use inpageLayout.set({ ... }).

Excel.Interfaces.PivotFieldCollectionData

An interface describing the data returned by callingpivotFieldCollection.toJSON().

Excel.Interfaces.PivotFieldCollectionLoadOptions

Represents a collection of all the PivotFields that are part of a PivotTable's hierarchy.

Excel.Interfaces.PivotFieldCollectionUpdateData

An interface for updating data on thePivotFieldCollection object, for use inpivotFieldCollection.set({ ... }).

Excel.Interfaces.PivotFieldData

An interface describing the data returned by callingpivotField.toJSON().

Excel.Interfaces.PivotFieldLoadOptions

Represents the Excel PivotField.

Excel.Interfaces.PivotFieldUpdateData

An interface for updating data on thePivotField object, for use inpivotField.set({ ... }).

Excel.Interfaces.PivotHierarchyCollectionData

An interface describing the data returned by callingpivotHierarchyCollection.toJSON().

Excel.Interfaces.PivotHierarchyCollectionLoadOptions

Represents a collection of all the PivotHierarchies that are part of the PivotTable.

Excel.Interfaces.PivotHierarchyCollectionUpdateData

An interface for updating data on thePivotHierarchyCollection object, for use inpivotHierarchyCollection.set({ ... }).

Excel.Interfaces.PivotHierarchyData

An interface describing the data returned by callingpivotHierarchy.toJSON().

Excel.Interfaces.PivotHierarchyLoadOptions

Represents the Excel PivotHierarchy.

Excel.Interfaces.PivotHierarchyUpdateData

An interface for updating data on thePivotHierarchy object, for use inpivotHierarchy.set({ ... }).

Excel.Interfaces.PivotItemCollectionData

An interface describing the data returned by callingpivotItemCollection.toJSON().

Excel.Interfaces.PivotItemCollectionLoadOptions

Represents a collection of all the PivotItems related to their parent PivotField.

Excel.Interfaces.PivotItemCollectionUpdateData

An interface for updating data on thePivotItemCollection object, for use inpivotItemCollection.set({ ... }).

Excel.Interfaces.PivotItemData

An interface describing the data returned by callingpivotItem.toJSON().

Excel.Interfaces.PivotItemLoadOptions

Represents the Excel PivotItem.

Excel.Interfaces.PivotItemUpdateData

An interface for updating data on thePivotItem object, for use inpivotItem.set({ ... }).

Excel.Interfaces.PivotLayoutData

An interface describing the data returned by callingpivotLayout.toJSON().

Excel.Interfaces.PivotLayoutLoadOptions

Represents the visual layout of the PivotTable.

Excel.Interfaces.PivotLayoutUpdateData

An interface for updating data on thePivotLayout object, for use inpivotLayout.set({ ... }).

Excel.Interfaces.PivotTableCollectionData

An interface describing the data returned by callingpivotTableCollection.toJSON().

Excel.Interfaces.PivotTableCollectionLoadOptions

Represents a collection of all the PivotTables that are part of the workbook or worksheet.

Excel.Interfaces.PivotTableCollectionUpdateData

An interface for updating data on thePivotTableCollection object, for use inpivotTableCollection.set({ ... }).

Excel.Interfaces.PivotTableData

An interface describing the data returned by callingpivotTable.toJSON().

Excel.Interfaces.PivotTableLoadOptions

Represents an Excel PivotTable. To learn more about the PivotTable object model, readWork with PivotTables using the Excel JavaScript API.

Excel.Interfaces.PivotTableScopedCollectionData

An interface describing the data returned by callingpivotTableScopedCollection.toJSON().

Excel.Interfaces.PivotTableScopedCollectionLoadOptions

Represents a scoped collection of PivotTables. The PivotTables are sorted based on the location of the PivotTable's top-left corner. They are ordered top-to-bottom and then left-to-right.

Excel.Interfaces.PivotTableScopedCollectionUpdateData

An interface for updating data on thePivotTableScopedCollection object, for use inpivotTableScopedCollection.set({ ... }).

Excel.Interfaces.PivotTableStyleCollectionData

An interface describing the data returned by callingpivotTableStyleCollection.toJSON().

Excel.Interfaces.PivotTableStyleCollectionLoadOptions

Represents a collection of PivotTable styles.

Excel.Interfaces.PivotTableStyleCollectionUpdateData

An interface for updating data on thePivotTableStyleCollection object, for use inpivotTableStyleCollection.set({ ... }).

Excel.Interfaces.PivotTableStyleData

An interface describing the data returned by callingpivotTableStyle.toJSON().

Excel.Interfaces.PivotTableStyleLoadOptions

Represents a PivotTable style, which defines style elements by PivotTable region.

Excel.Interfaces.PivotTableStyleUpdateData

An interface for updating data on thePivotTableStyle object, for use inpivotTableStyle.set({ ... }).

Excel.Interfaces.PivotTableUpdateData

An interface for updating data on thePivotTable object, for use inpivotTable.set({ ... }).

Excel.Interfaces.PresetCriteriaConditionalFormatData

An interface describing the data returned by callingpresetCriteriaConditionalFormat.toJSON().

Excel.Interfaces.PresetCriteriaConditionalFormatLoadOptions

Represents the preset criteria conditional format such as above average, below average, unique values, contains blank, nonblank, error, and noerror.

Excel.Interfaces.PresetCriteriaConditionalFormatUpdateData

An interface for updating data on thePresetCriteriaConditionalFormat object, for use inpresetCriteriaConditionalFormat.set({ ... }).

Excel.Interfaces.QueryCollectionData

An interface describing the data returned by callingqueryCollection.toJSON().

Excel.Interfaces.QueryCollectionLoadOptions

Represents the collection of queries in the workbook.

Excel.Interfaces.QueryCollectionUpdateData

An interface for updating data on theQueryCollection object, for use inqueryCollection.set({ ... }).

Excel.Interfaces.QueryData

An interface describing the data returned by callingquery.toJSON().

Excel.Interfaces.QueryLoadOptions

Represents a Power Query query.

Excel.Interfaces.QueryUpdateData

An interface for updating data on theQuery object, for use inquery.set({ ... }).

Excel.Interfaces.RangeAreasCollectionData

An interface describing the data returned by callingrangeAreasCollection.toJSON().

Excel.Interfaces.RangeAreasCollectionLoadOptions

Contains the collection of cross-workbook level ranges.

Excel.Interfaces.RangeAreasCollectionUpdateData

An interface for updating data on theRangeAreasCollection object, for use inrangeAreasCollection.set({ ... }).

Excel.Interfaces.RangeAreasData

An interface describing the data returned by callingrangeAreas.toJSON().

Excel.Interfaces.RangeAreasLoadOptions

RangeAreas represents a collection of one or more rectangular ranges in the same worksheet. To learn how to use discontiguous ranges, readWork with multiple ranges simultaneously in Excel add-ins.

Excel.Interfaces.RangeAreasUpdateData

An interface for updating data on theRangeAreas object, for use inrangeAreas.set({ ... }).

Excel.Interfaces.RangeBorderCollectionData

An interface describing the data returned by callingrangeBorderCollection.toJSON().

Excel.Interfaces.RangeBorderCollectionLoadOptions

Represents the border objects that make up the range border.

Excel.Interfaces.RangeBorderCollectionUpdateData

An interface for updating data on theRangeBorderCollection object, for use inrangeBorderCollection.set({ ... }).

Excel.Interfaces.RangeBorderData

An interface describing the data returned by callingrangeBorder.toJSON().

Excel.Interfaces.RangeBorderLoadOptions

Represents the border of an object.

Excel.Interfaces.RangeBorderUpdateData

An interface for updating data on theRangeBorder object, for use inrangeBorder.set({ ... }).

Excel.Interfaces.RangeCollectionData

An interface describing the data returned by callingrangeCollection.toJSON().

Excel.Interfaces.RangeCollectionLoadOptions
Excel.Interfaces.RangeCollectionUpdateData

An interface for updating data on theRangeCollection object, for use inrangeCollection.set({ ... }).

Excel.Interfaces.RangeData

An interface describing the data returned by callingrange.toJSON().

Excel.Interfaces.RangeFillData

An interface describing the data returned by callingrangeFill.toJSON().

Excel.Interfaces.RangeFillLoadOptions

Represents the background of a range object.

Excel.Interfaces.RangeFillUpdateData

An interface for updating data on theRangeFill object, for use inrangeFill.set({ ... }).

Excel.Interfaces.RangeFontData

An interface describing the data returned by callingrangeFont.toJSON().

Excel.Interfaces.RangeFontLoadOptions

This object represents the font attributes (font name, font size, color, etc.) for an object.

Excel.Interfaces.RangeFontUpdateData

An interface for updating data on theRangeFont object, for use inrangeFont.set({ ... }).

Excel.Interfaces.RangeFormatData

An interface describing the data returned by callingrangeFormat.toJSON().

Excel.Interfaces.RangeFormatLoadOptions

A format object encapsulating the range's font, fill, borders, alignment, and other properties.

Excel.Interfaces.RangeFormatUpdateData

An interface for updating data on theRangeFormat object, for use inrangeFormat.set({ ... }).

Excel.Interfaces.RangeLoadOptions

Range represents a set of one or more contiguous cells such as a cell, a row, a column, or a block of cells. To learn more about how ranges are used throughout the API, start withRanges in the Excel JavaScript API.

Excel.Interfaces.RangeUpdateData

An interface for updating data on theRange object, for use inrange.set({ ... }).

Excel.Interfaces.RangeViewCollectionData

An interface describing the data returned by callingrangeViewCollection.toJSON().

Excel.Interfaces.RangeViewCollectionLoadOptions

Represents a collection ofRangeView objects.

Excel.Interfaces.RangeViewCollectionUpdateData

An interface for updating data on theRangeViewCollection object, for use inrangeViewCollection.set({ ... }).

Excel.Interfaces.RangeViewData

An interface describing the data returned by callingrangeView.toJSON().

Excel.Interfaces.RangeViewLoadOptions

RangeView represents a set of visible cells of the parent range.

Excel.Interfaces.RangeViewUpdateData

An interface for updating data on theRangeView object, for use inrangeView.set({ ... }).

Excel.Interfaces.RemoveDuplicatesResultData

An interface describing the data returned by callingremoveDuplicatesResult.toJSON().

Excel.Interfaces.RemoveDuplicatesResultLoadOptions

Represents the results fromRange.removeDuplicates.

Excel.Interfaces.RowColumnPivotHierarchyCollectionData

An interface describing the data returned by callingrowColumnPivotHierarchyCollection.toJSON().

Excel.Interfaces.RowColumnPivotHierarchyCollectionLoadOptions

Represents a collection of RowColumnPivotHierarchy items associated with the PivotTable.

Excel.Interfaces.RowColumnPivotHierarchyCollectionUpdateData

An interface for updating data on theRowColumnPivotHierarchyCollection object, for use inrowColumnPivotHierarchyCollection.set({ ... }).

Excel.Interfaces.RowColumnPivotHierarchyData

An interface describing the data returned by callingrowColumnPivotHierarchy.toJSON().

Excel.Interfaces.RowColumnPivotHierarchyLoadOptions

Represents the Excel RowColumnPivotHierarchy.

Excel.Interfaces.RowColumnPivotHierarchyUpdateData

An interface for updating data on theRowColumnPivotHierarchy object, for use inrowColumnPivotHierarchy.set({ ... }).

Excel.Interfaces.RuntimeData

An interface describing the data returned by callingruntime.toJSON().

Excel.Interfaces.RuntimeLoadOptions

Represents the Excel Runtime class.

Excel.Interfaces.RuntimeUpdateData

An interface for updating data on theRuntime object, for use inruntime.set({ ... }).

Excel.Interfaces.SettingCollectionData

An interface describing the data returned by callingsettingCollection.toJSON().

Excel.Interfaces.SettingCollectionLoadOptions

Represents a collection of key-value pair setting objects that are part of the workbook. The scope is limited to per file and add-in (task-pane or content) combination.

Excel.Interfaces.SettingCollectionUpdateData

An interface for updating data on theSettingCollection object, for use insettingCollection.set({ ... }).

Excel.Interfaces.SettingData

An interface describing the data returned by callingsetting.toJSON().

Excel.Interfaces.SettingLoadOptions

Setting represents a key-value pair of a setting persisted to the document (per file, per add-in). These custom key-value pair can be used to store state or lifecycle information needed by the content or task-pane add-in. Note that settings are persisted in the document and hence it is not a place to store any sensitive or protected information such as user information and password.

Excel.Interfaces.SettingUpdateData

An interface for updating data on theSetting object, for use insetting.set({ ... }).

Excel.Interfaces.ShapeCollectionData

An interface describing the data returned by callingshapeCollection.toJSON().

Excel.Interfaces.ShapeCollectionLoadOptions

Represents a collection of all the shapes in the worksheet.

Excel.Interfaces.ShapeCollectionUpdateData

An interface for updating data on theShapeCollection object, for use inshapeCollection.set({ ... }).

Excel.Interfaces.ShapeData

An interface describing the data returned by callingshape.toJSON().

Excel.Interfaces.ShapeFillData

An interface describing the data returned by callingshapeFill.toJSON().

Excel.Interfaces.ShapeFillLoadOptions

Represents the fill formatting of a shape object.

Excel.Interfaces.ShapeFillUpdateData

An interface for updating data on theShapeFill object, for use inshapeFill.set({ ... }).

Excel.Interfaces.ShapeFontData

An interface describing the data returned by callingshapeFont.toJSON().

Excel.Interfaces.ShapeFontLoadOptions

Represents the font attributes, such as font name, font size, and color, for a shape'sTextRange object.

Excel.Interfaces.ShapeFontUpdateData

An interface for updating data on theShapeFont object, for use inshapeFont.set({ ... }).

Excel.Interfaces.ShapeGroupData

An interface describing the data returned by callingshapeGroup.toJSON().

Excel.Interfaces.ShapeGroupLoadOptions

Represents a shape group inside a worksheet. To get the correspondingShape object, useShapeGroup.shape.

Excel.Interfaces.ShapeLineFormatData

An interface describing the data returned by callingshapeLineFormat.toJSON().

Excel.Interfaces.ShapeLineFormatLoadOptions

Represents the line formatting for the shape object. For images and geometric shapes, line formatting represents the border of the shape.

Excel.Interfaces.ShapeLineFormatUpdateData

An interface for updating data on theShapeLineFormat object, for use inshapeLineFormat.set({ ... }).

Excel.Interfaces.ShapeLoadOptions

Represents a generic shape object in the worksheet. A shape could be a geometric shape, a line, a group of shapes, etc. To learn more about the shape object model, readWork with shapes using the Excel JavaScript API.

Excel.Interfaces.ShapeUpdateData

An interface for updating data on theShape object, for use inshape.set({ ... }).

Excel.Interfaces.SlicerCollectionData

An interface describing the data returned by callingslicerCollection.toJSON().

Excel.Interfaces.SlicerCollectionLoadOptions

Represents a collection of all the slicer objects in the workbook or a worksheet.

Excel.Interfaces.SlicerCollectionUpdateData

An interface for updating data on theSlicerCollection object, for use inslicerCollection.set({ ... }).

Excel.Interfaces.SlicerData

An interface describing the data returned by callingslicer.toJSON().

Excel.Interfaces.SlicerItemCollectionData

An interface describing the data returned by callingslicerItemCollection.toJSON().

Excel.Interfaces.SlicerItemCollectionLoadOptions

Represents a collection of all the slicer item objects in the slicer.

Excel.Interfaces.SlicerItemCollectionUpdateData

An interface for updating data on theSlicerItemCollection object, for use inslicerItemCollection.set({ ... }).

Excel.Interfaces.SlicerItemData

An interface describing the data returned by callingslicerItem.toJSON().

Excel.Interfaces.SlicerItemLoadOptions

Represents a slicer item in a slicer.

Excel.Interfaces.SlicerItemUpdateData

An interface for updating data on theSlicerItem object, for use inslicerItem.set({ ... }).

Excel.Interfaces.SlicerLoadOptions

Represents aSlicer object in the workbook.

Excel.Interfaces.SlicerStyleCollectionData

An interface describing the data returned by callingslicerStyleCollection.toJSON().

Excel.Interfaces.SlicerStyleCollectionLoadOptions

Represents a collection ofSlicerStyle objects.

Excel.Interfaces.SlicerStyleCollectionUpdateData

An interface for updating data on theSlicerStyleCollection object, for use inslicerStyleCollection.set({ ... }).

Excel.Interfaces.SlicerStyleData

An interface describing the data returned by callingslicerStyle.toJSON().

Excel.Interfaces.SlicerStyleLoadOptions

Represents a slicer style, which defines style elements by region of the slicer.

Excel.Interfaces.SlicerStyleUpdateData

An interface for updating data on theSlicerStyle object, for use inslicerStyle.set({ ... }).

Excel.Interfaces.SlicerUpdateData

An interface for updating data on theSlicer object, for use inslicer.set({ ... }).

Excel.Interfaces.StyleCollectionData

An interface describing the data returned by callingstyleCollection.toJSON().

Excel.Interfaces.StyleCollectionLoadOptions

Represents a collection of all the styles.

Excel.Interfaces.StyleCollectionUpdateData

An interface for updating data on theStyleCollection object, for use instyleCollection.set({ ... }).

Excel.Interfaces.StyleData

An interface describing the data returned by callingstyle.toJSON().

Excel.Interfaces.StyleLoadOptions

An object encapsulating a style's format and other properties.

Excel.Interfaces.StyleUpdateData

An interface for updating data on theStyle object, for use instyle.set({ ... }).

Excel.Interfaces.TableCollectionData

An interface describing the data returned by callingtableCollection.toJSON().

Excel.Interfaces.TableCollectionLoadOptions

Represents a collection of all the tables that are part of the workbook or worksheet, depending on how it was reached.

Excel.Interfaces.TableCollectionUpdateData

An interface for updating data on theTableCollection object, for use intableCollection.set({ ... }).

Excel.Interfaces.TableColumnCollectionData

An interface describing the data returned by callingtableColumnCollection.toJSON().

Excel.Interfaces.TableColumnCollectionLoadOptions

Represents a collection of all the columns that are part of the table.

Excel.Interfaces.TableColumnCollectionUpdateData

An interface for updating data on theTableColumnCollection object, for use intableColumnCollection.set({ ... }).

Excel.Interfaces.TableColumnData

An interface describing the data returned by callingtableColumn.toJSON().

Excel.Interfaces.TableColumnLoadOptions

Represents a column in a table.

Excel.Interfaces.TableColumnUpdateData

An interface for updating data on theTableColumn object, for use intableColumn.set({ ... }).

Excel.Interfaces.TableData

An interface describing the data returned by callingtable.toJSON().

Excel.Interfaces.TableLoadOptions

Represents an Excel table. To learn more about the table object model, readWork with tables using the Excel JavaScript API.

Excel.Interfaces.TableRowCollectionData

An interface describing the data returned by callingtableRowCollection.toJSON().

Excel.Interfaces.TableRowCollectionLoadOptions

Represents a collection of all the rows that are part of the table.

Note that unlike ranges or columns, which will adjust if new rows or columns are added before them, aTableRow object represents the physical location of the table row, but not the data. That is, if the data is sorted or if new rows are added, a table row will continue to point at the index for which it was created.

Excel.Interfaces.TableRowCollectionUpdateData

An interface for updating data on theTableRowCollection object, for use intableRowCollection.set({ ... }).

Excel.Interfaces.TableRowData

An interface describing the data returned by callingtableRow.toJSON().

Excel.Interfaces.TableRowLoadOptions

Represents a row in a table.

Note that unlike ranges or columns, which will adjust if new rows or columns are added before them, aTableRow object represents the physical location of the table row, but not the data. That is, if the data is sorted or if new rows are added, a table row will continue to point at the index for which it was created.

Excel.Interfaces.TableRowUpdateData

An interface for updating data on theTableRow object, for use intableRow.set({ ... }).

Excel.Interfaces.TableScopedCollectionData

An interface describing the data returned by callingtableScopedCollection.toJSON().

Excel.Interfaces.TableScopedCollectionLoadOptions

Represents a scoped collection of tables. For each table its top-left corner is considered its anchor location, and the tables are sorted top-to-bottom and then left-to-right.

Excel.Interfaces.TableScopedCollectionUpdateData

An interface for updating data on theTableScopedCollection object, for use intableScopedCollection.set({ ... }).

Excel.Interfaces.TableSortData

An interface describing the data returned by callingtableSort.toJSON().

Excel.Interfaces.TableSortLoadOptions

Manages sorting operations onTable objects.

Excel.Interfaces.TableStyleCollectionData

An interface describing the data returned by callingtableStyleCollection.toJSON().

Excel.Interfaces.TableStyleCollectionLoadOptions

Represents a collection of table styles.

Excel.Interfaces.TableStyleCollectionUpdateData

An interface for updating data on theTableStyleCollection object, for use intableStyleCollection.set({ ... }).

Excel.Interfaces.TableStyleData

An interface describing the data returned by callingtableStyle.toJSON().

Excel.Interfaces.TableStyleLoadOptions

Represents a table style, which defines the style elements by region of the table.

Excel.Interfaces.TableStyleUpdateData

An interface for updating data on theTableStyle object, for use intableStyle.set({ ... }).

Excel.Interfaces.TableUpdateData

An interface for updating data on theTable object, for use intable.set({ ... }).

Excel.Interfaces.TextConditionalFormatData

An interface describing the data returned by callingtextConditionalFormat.toJSON().

Excel.Interfaces.TextConditionalFormatLoadOptions

Represents a specific text conditional format.

Excel.Interfaces.TextConditionalFormatUpdateData

An interface for updating data on theTextConditionalFormat object, for use intextConditionalFormat.set({ ... }).

Excel.Interfaces.TextFrameData

An interface describing the data returned by callingtextFrame.toJSON().

Excel.Interfaces.TextFrameLoadOptions

Represents the text frame of a shape object.

Excel.Interfaces.TextFrameUpdateData

An interface for updating data on theTextFrame object, for use intextFrame.set({ ... }).

Excel.Interfaces.TextRangeData

An interface describing the data returned by callingtextRange.toJSON().

Excel.Interfaces.TextRangeLoadOptions

Contains the text that is attached to a shape, in addition to properties and methods for manipulating the text.

Excel.Interfaces.TextRangeUpdateData

An interface for updating data on theTextRange object, for use intextRange.set({ ... }).

Excel.Interfaces.TimelineStyleCollectionData

An interface describing the data returned by callingtimelineStyleCollection.toJSON().

Excel.Interfaces.TimelineStyleCollectionLoadOptions

Represents a collection of timeline styles.

Excel.Interfaces.TimelineStyleCollectionUpdateData

An interface for updating data on theTimelineStyleCollection object, for use intimelineStyleCollection.set({ ... }).

Excel.Interfaces.TimelineStyleData

An interface describing the data returned by callingtimelineStyle.toJSON().

Excel.Interfaces.TimelineStyleLoadOptions

Represents aTimelineStyle, which defines style elements by region in the timeline.

Excel.Interfaces.TimelineStyleUpdateData

An interface for updating data on theTimelineStyle object, for use intimelineStyle.set({ ... }).

Excel.Interfaces.TopBottomConditionalFormatData

An interface describing the data returned by callingtopBottomConditionalFormat.toJSON().

Excel.Interfaces.TopBottomConditionalFormatLoadOptions

Represents a top/bottom conditional format.

Excel.Interfaces.TopBottomConditionalFormatUpdateData

An interface for updating data on theTopBottomConditionalFormat object, for use intopBottomConditionalFormat.set({ ... }).

Excel.Interfaces.WorkbookCreatedData

An interface describing the data returned by callingworkbookCreated.toJSON().

Excel.Interfaces.WorkbookData

An interface describing the data returned by callingworkbook.toJSON().

Excel.Interfaces.WorkbookLoadOptions

Workbook is the top level object which contains related workbook objects such as worksheets, tables, and ranges. To learn more about the workbook object model, readWork with workbooks using the Excel JavaScript API.

Excel.Interfaces.WorkbookProtectionData

An interface describing the data returned by callingworkbookProtection.toJSON().

Excel.Interfaces.WorkbookProtectionLoadOptions

Represents the protection of a workbook object.

Excel.Interfaces.WorkbookRangeAreasData

An interface describing the data returned by callingworkbookRangeAreas.toJSON().

Excel.Interfaces.WorkbookRangeAreasLoadOptions

Represents a collection of one or more rectangular ranges in multiple worksheets.

Excel.Interfaces.WorkbookUpdateData

An interface for updating data on theWorkbook object, for use inworkbook.set({ ... }).

Excel.Interfaces.WorksheetCollectionData

An interface describing the data returned by callingworksheetCollection.toJSON().

Excel.Interfaces.WorksheetCollectionLoadOptions

Represents a collection of worksheet objects that are part of the workbook.

Excel.Interfaces.WorksheetCollectionUpdateData

An interface for updating data on theWorksheetCollection object, for use inworksheetCollection.set({ ... }).

Excel.Interfaces.WorksheetCustomPropertyCollectionData

An interface describing the data returned by callingworksheetCustomPropertyCollection.toJSON().

Excel.Interfaces.WorksheetCustomPropertyCollectionLoadOptions

Contains the collection of worksheet-level custom property.

Excel.Interfaces.WorksheetCustomPropertyCollectionUpdateData

An interface for updating data on theWorksheetCustomPropertyCollection object, for use inworksheetCustomPropertyCollection.set({ ... }).

Excel.Interfaces.WorksheetCustomPropertyData

An interface describing the data returned by callingworksheetCustomProperty.toJSON().

Excel.Interfaces.WorksheetCustomPropertyLoadOptions

Represents a worksheet-level custom property.

Excel.Interfaces.WorksheetCustomPropertyUpdateData

An interface for updating data on theWorksheetCustomProperty object, for use inworksheetCustomProperty.set({ ... }).

Excel.Interfaces.WorksheetData

An interface describing the data returned by callingworksheet.toJSON().

Excel.Interfaces.WorksheetLoadOptions

An Excel worksheet is a grid of cells. It can contain data, tables, charts, etc. To learn more about the worksheet object model, readWork with worksheets using the Excel JavaScript API.

Excel.Interfaces.WorksheetProtectionData

An interface describing the data returned by callingworksheetProtection.toJSON().

Excel.Interfaces.WorksheetProtectionLoadOptions

Represents the protection of a worksheet object.

Excel.Interfaces.WorksheetUpdateData

An interface for updating data on theWorksheet object, for use inworksheet.set({ ... }).

Excel.JavaScriptCustomFunctionReferenceCellValue

Represents a reference to a JavaScript custom function.

Excel.LinkedDataTypeAddedEventArgs

The argument that is passed to the event handler after a new linked data type is added to the workbook.

Excel.LinkedEntityCellValue

Represents a value whose properties derive from a service.

Excel.LinkedEntityDataDomainAddedEventArgs

Provides information about the identity of the linked entity data domain that was just added to the workbook.

Excel.LinkedEntityDataDomainCreateOptions

Represents options that are used to create theLinkedEntityDataDomain object being added to theLinkedEntityDataDomainCollection.

Excel.LinkedEntityDataDomainRefreshCompletedEventArgs

Provides information about the linked entity data domain whoseLinkedEntityCellValue objects were refreshed.

Excel.LinkedEntityDataDomainRefreshModeChangedEventArgs

Provides information about the linked entity data domain whose refresh mode was changed.

Excel.LinkedEntityId

The linked entity ID object represents a set of properties that describes a service and culture for locating this service defined value.

Excel.LinkedEntityIdCulture

Represents the entity ID and culture for aLinkedEntityCellValue object.

Excel.LinkedEntityLoadServiceRequest

Represents a request to@linkedEntityLoadService custom function to loadLinkedEntityCellValue objects.

Excel.LinkedEntityLoadServiceResult

Represents the result of a request to@linkedEntityLoadService custom function to loadLinkedEntityCellValue objects.

Excel.ListDataValidation

Represents the List data validation criteria.

Excel.LocalImageCellValue

Represents the value of a cell containing a locally stored or generated image.

Excel.LocalImageCellValueCacheId

The UID of a previously cached image.

Excel.MixedCellControl

Represents the result of a query that resulted in multiple cell controls. If the result has multiple controls, then they can't be represented as a single result.

Excel.NameErrorCellValue

Represents the value of a cell containing a #NAME? error.

Excel.NotAvailableErrorCellValue

Represents the value of a cell containing a #N/A! error.

Excel.NullErrorCellValue

Represents the value of a cell containing a #NULL! error.

Excel.NumErrorCellValue

Represents the value of a cell containing a #NUM! error.

Excel.PageLayoutMarginOptions

Represents the options in page layout margins.

Excel.PageLayoutZoomOptions

Represents page zoom properties.

Excel.PivotDateFilter

Configurable template for a date filter to apply to a PivotField. Thecondition defines what criteria need to be set in order for the filter to operate.

Excel.PivotFilters

An interface representing all PivotFilters currently applied to a given PivotField.

Excel.PivotLabelFilter

Configurable template for a label filter to apply to a PivotField. Thecondition defines what criteria need to be set in order for the filter to operate.

Excel.PivotManualFilter

Configurable template for a manual filter to apply to a PivotField. Thecondition defines what criteria need to be set in order for the filter to operate.

Excel.PivotValueFilter

Configurable template for a value filter to apply to a PivotField. Thecondition defines what criteria need to be set in order for the filter to operate.

Excel.PlaceholderErrorCellValue

Represents the value of a cell containing a #BUSY! error. This type of error is used as a placeholder while the value of a cell is downloaded.

Excel.PythonErrorCellValue

Represents the value of a cell containing a #PYTHON! error.

Excel.RangeHyperlink

Represents the necessary strings to get/set a hyperlink (XHL) object.

Excel.RangeReference

Represents a string reference of the form "SheetName!A1:B5", or a global or local named range.

Excel.RangeTextRun

Represents a sequence of one or more characters that share the same font attributes in a cell. Can be used as thetextRuns properties ofgetCellProperties or thetextRuns input parameter ofsetCellProperties.

Excel.ReferenceCellValue

Represents a reference intoreferencedValues. One scenario for using this reference is to avoid duplicating cell value objects (such as anEntityCellValue). Define a cell value object once inreferencedValues, and then refer to that cell value from many places by using aReferenceCellValue where the duplicated value would have appeared.

Excel.RefErrorCellValue

Represents the value of a cell containing a #REF! error.

Excel.RefreshModeChangedEventArgs

Represents information about a newly added linked data type, such as source and ID.

Excel.RefreshRequestCompletedEventArgs

The argument that is passed to the event handler upon completion of refresh request to an external service or link.

Excel.ReplaceCriteria

Represents the replace criteria to be used.

Excel.RootReferenceCellValue

Represents a reference to the value which containsreferencedValues.

Excel.RowProperties

Represents the returned properties of getRowProperties.

[API set: ExcelApi 1.9 ]

Excel.RowPropertiesLoadOptions

Represents which row properties to load, when used as part of a "range.getRowProperties" method.

[API set: ExcelApi 1.9 ]

Excel.RunOptions
Excel.SearchCriteria

Represents the search criteria to be used.

Excel.SelectionChangedEventArgs

Provides information about the document that raised the selection changed event.

Excel.Session
Excel.SettableCellProperties

Represents the input parameter of setCellProperties.

[API set: ExcelApi 1.9 ]

Excel.SettableColumnProperties

Represents the input parameter of setColumnProperties.

[API set: ExcelApi 1.9 ]

Excel.SettableRowProperties

Represents the input parameter of setRowProperties.

[API set: ExcelApi 1.9 ]

Excel.SettingsChangedEventArgs

Provides information about the setting that raised the settings changed event

Excel.ShapeActivatedEventArgs

Provides information about the shape that raised the activated event.

Excel.ShapeDeactivatedEventArgs

Provides information about the shape that raised the deactivated event.

Excel.ShowAsRule
Excel.SortField

Represents a condition in a sorting operation.

Excel.SpillErrorCellValue

Represents the value of a cell containing a #SPILL! error.

Excel.StringCellValue

Represents the value of a cell containing a string.

Excel.Subtotals

Subtotals for the Pivot Field.

Excel.TableAddedEventArgs

Provides information about the table that raised the added event.

Excel.TableChangedEventArgs

Provides information about the table that raised the changed event.

Excel.TableDeletedEventArgs

Provides information about the table that raised the deleted event.

Excel.TableFilteredEventArgs

Provides information about the table that raised the filter applied event.

Excel.TableSelectionChangedEventArgs

Provides information about the table that raised the selection changed event.

Excel.ThreeArrowsGraySet

[API set: ExcelApi 1.2 ]

Excel.ThreeArrowsSet

[API set: ExcelApi 1.2 ]

Excel.ThreeFlagsSet

[API set: ExcelApi 1.2 ]

Excel.ThreeSignsSet

[API set: ExcelApi 1.2 ]

Excel.ThreeStarsSet

[API set: ExcelApi 1.2 ]

Excel.ThreeSymbols2Set

[API set: ExcelApi 1.2 ]

Excel.ThreeSymbolsSet

[API set: ExcelApi 1.2 ]

Excel.ThreeTrafficLights1Set

[API set: ExcelApi 1.2 ]

Excel.ThreeTrafficLights2Set

[API set: ExcelApi 1.2 ]

Excel.ThreeTrianglesSet

[API set: ExcelApi 1.2 ]

Excel.TimeoutErrorCellValue

Represents the value of a cell containing a #TIMEOUT! error.

Excel.UnknownCellControl

Represents an unknown cell control. This represents a control that was added in a future version of Excel, and the current version of Excel doesn't know how to display this control.

Excel.ValueErrorCellValue

Represents the value of a cell containing a #VALUE! error.

Excel.ValueTypeNotAvailableCellValue

Represents the value of a cell containing a type of value which cannot be serialized. For example, an #UNKNOWN! error which represents a type of rich value not known to this version of Excel.

Excel.WebImageCellValue

Represents the value of a cell containing an image downloaded from the internet.

Excel.WorkbookActivatedEventArgs

Provides information about the workbook that raised the activated event.

Excel.WorkbookAutoSaveSettingChangedEventArgs

Provides information about the workbook'sonAutoSaveSettingChanged event.

Excel.WorksheetActivatedEventArgs

Provides information about the worksheet that raised the activated event.

Excel.WorksheetAddedEventArgs

Provides information about the worksheet that raised the added event.

Excel.WorksheetCalculatedEventArgs

Provides information about the worksheet that raised the calculated event.

Excel.WorksheetChangedEventArgs

Provides information about the worksheet that raised the changed event.

Excel.WorksheetColumnSortedEventArgs

Provides information about the column-sorted event and its related worksheet.

Excel.WorksheetDeactivatedEventArgs

Provides information about the worksheet that raised the deactivated event.

Excel.WorksheetDeletedEventArgs

Provides information about the worksheet that raised the deleted event.

Excel.WorksheetFilteredEventArgs

Provides information about the worksheet that raised the filter applied event.

Excel.WorksheetFormatChangedEventArgs

Provides information about the worksheet format change event.

Excel.WorksheetFormulaChangedEventArgs

Provides information about the worksheet and formulas that raised the formula changed event.

Excel.WorksheetMovedEventArgs

Notifies when a worksheet is moved within a workbook.

If a worksheet is moved from one position within the workbook to another via the Excel UI, then this API will trigger an event. Note that if the position of a worksheet changes as a result of moving a different worksheet, then this event won't trigger for both position changes. This event only triggers for the primary worksheet move, and not any worksheet position changes that occur as a result of that primary move.

Excel.WorksheetNameChangedEventArgs

Provides information about the worksheet whose name has changed.

Excel.WorksheetProtectionChangedEventArgs

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

Excel.WorksheetProtectionOptions

Represents the options in sheet protection.

Excel.WorksheetRowHiddenChangedEventArgs

Provides information about the worksheet's row hidden change event.

Excel.WorksheetRowSortedEventArgs

Provides information about the row-sorted event and its related worksheet.

Excel.WorksheetSearchCriteria

Represents the worksheet search criteria to be used.

Excel.WorksheetSelectionChangedEventArgs

Provides information about the worksheet that raised the selection changed event.

Excel.WorksheetSingleClickedEventArgs

Provides information about the left-clicked/tapped event and its related worksheet.

Excel.WorksheetVisibilityChangedEventArgs

Provides information about the worksheet whose visibility has changed.

Type Aliases

Excel.CardLayout

Represents the layout of a card in card view.

Excel.CardLayoutSection

Represents the layout of a section of a card in card view.

Excel.CellControl

Represents an interactable control inside of a cell.

Excel.CellValue

Represents the value in a cell.

Excel.CellValueAndPropertyMetadata

Represents the value and metadata of a property. The metadata applies to the property (and not the value), but it is combined with the value in this type.

Excel.CompactLayout

Represents the layout used when there is limited space to represent the entity.

Excel.EntityPropertyType

Represents the value of a property.

Excel.ErrorCellValue

Represents a cell value which contains an error.

Excel.FunctionCellValue

Represents a cell value which can be evaluated as a function.

Excel.ReferencedValue

Represents the value in a cell.

Enums

Excel.AggregationFunction

Aggregation function for theDataPivotHierarchy.

Excel.ArrowheadLength
Excel.ArrowheadStyle
Excel.ArrowheadWidth
Excel.AutoFillType

The behavior types when AutoFill is used on a range in the workbook.

Excel.Base64EncodingType

The file type represented by the Base64 encoding.

Excel.BindingType
Excel.BlockedErrorCellValueSubType

Represents types of #BLOCKED! errors.

Excel.BorderIndex
Excel.BorderLineStyle
Excel.BorderWeight
Excel.BuiltInPivotTableStyle

Represents a built-in PivotTable style

Excel.BuiltInSlicerStyle

Represents a built-in slicer style.

Excel.BuiltInStyle
Excel.BuiltInTableStyle

Represents a built-in table style.

Excel.BusyErrorCellValueSubType

Represents types of #BUSY! errors.

Excel.CalcErrorCellValueSubType

Represents types of #CALC! errors.

Excel.CalculationMode
Excel.CalculationState

Represents the state of calculation across the entire Excel application.

Excel.CalculationType
Excel.CellControlType

Represents the type of cell control.

Excel.CellValueType

Represents the types of theCellValue object.

Excel.ChartAxisCategoryType

Specifies the type of the category axis.

Excel.ChartAxisDisplayUnit
Excel.ChartAxisGroup
Excel.ChartAxisPosition
Excel.ChartAxisScaleType
Excel.ChartAxisTickLabelPosition
Excel.ChartAxisTickMark
Excel.ChartAxisTimeUnit

Specifies the unit of time for chart axes and data series.

Excel.ChartAxisType
Excel.ChartBinType

Specifies the bin type of a histogram chart or pareto chart series.

Excel.ChartBoxQuartileCalculation

Represents the quartile calculation type of chart series layout. Only applies to a box and whisker chart.

Excel.ChartColorScheme
Excel.ChartDataLabelPosition
Excel.ChartDataSourceType

Specifies the data source type of the chart series.

Excel.ChartDisplayBlanksAs
Excel.ChartErrorBarsInclude

Represents which parts of the error bar to include.

Excel.ChartErrorBarsType

Represents the range type for error bars.

Excel.ChartGradientStyle

Represents the gradient style of a chart series. This is only applicable for region map charts.

Excel.ChartGradientStyleType

Represents the gradient style type of a chart series. This is only applicable for region map charts.

Excel.ChartLegendPosition
Excel.ChartLineStyle
Excel.ChartMapAreaLevel

Represents the mapping level of a chart series. This only applies to region map charts.

Excel.ChartMapLabelStrategy

Represents the region level of a chart series layout. This only applies to region map charts.

Excel.ChartMapProjectionType

Represents the region projection type of a chart series layout. This only applies to region map charts.

Excel.ChartMarkerStyle
Excel.ChartParentLabelStrategy

Represents the parent label strategy of the chart series layout. This only applies to treemap charts

Excel.ChartPlotAreaPosition
Excel.ChartPlotBy
Excel.ChartSeriesBy

Specifies whether the series are by rows or by columns. In Excel on desktop, the "auto" option will inspect the source data shape to automatically guess whether the data is by rows or columns. In Excel on the web, "auto" will simply default to "columns".

Excel.ChartSeriesDimension

Represents the dimensions when getting values from chart series.

Excel.ChartSplitType
Excel.ChartTextHorizontalAlignment

Represents the horizontal alignment for the specified object.

Excel.ChartTextVerticalAlignment

Represents the vertical alignment for the specified object.

Excel.ChartTickLabelAlignment
Excel.ChartTitlePosition

Represents the position of the chart title.

Excel.ChartTrendlineType
Excel.ChartType
Excel.ChartUnderlineStyle
Excel.ClearApplyTo
Excel.CloseBehavior

Specifies the close behavior forWorkbook.close.

Excel.CommentChangeType

Represents how the comments in the event were changed.

Excel.ConditionalCellValueOperator

Represents the operator of the text conditional format type.

Excel.ConditionalDataBarAxisFormat

Represents the format options for a data bar axis.

Excel.ConditionalDataBarDirection

Represents the data bar direction within a cell.

Excel.ConditionalFormatColorCriterionType

Represents the types of color criterion for conditional formatting.

Excel.ConditionalFormatDirection

Represents the direction for a selection.

Excel.ConditionalFormatIconRuleType

Represents the types of icon conditional format.

Excel.ConditionalFormatPresetCriterion

Represents the criteria of the preset criteria conditional format type.

Excel.ConditionalFormatRuleType

Represents the types of conditional format values.

Excel.ConditionalFormatType
Excel.ConditionalIconCriterionOperator

Represents the operator for each icon criteria.

Excel.ConditionalRangeBorderIndex
Excel.ConditionalRangeBorderLineStyle
Excel.ConditionalRangeFontUnderlineStyle
Excel.ConditionalTextOperator

Represents the operator of the text conditional format type.

Excel.ConditionalTopBottomCriterionType

Represents the criteria for the above/below average conditional format type.

Excel.ConnectErrorCellValueSubType

Represents types of #CONNECT! errors.

Excel.ConnectorType
Excel.ContentType
Excel.DataChangeType
Excel.DataSourceType

Represents a command type ofDataConnection.

Excel.DataValidationAlertStyle

Represents the data validation error alert style. The default isStop.

Excel.DataValidationOperator

Represents the data validation operator enum.

Excel.DataValidationType

Represents the data validation type enum.

Excel.DateFilterCondition

Enum representing all accepted conditions by which a date filter can be applied. Used to configure the type of PivotFilter that is applied to the field.

Excel.DeleteShiftDirection
Excel.DocumentPropertyItem
Excel.DocumentPropertyType
Excel.DocumentTaskChangeAction

Represents the type of change recorded in the task change record.

Excel.DynamicFilterCriteria
Excel.EntityCardLayoutType

Types of entity card layouts.

Excel.EntityCompactLayoutIcons

The list of icons available forEntityCompactLayout. An icon displays in the Excel UI, either to the left of the title in a cell that contains an entity card, or to the left of the title of a referenced entity inside an entity card. Selecting the icon opens the entity card.

Excel.ErrorCellValueType

Represents the types of theErrorCellValue object.

Excel.ErrorCodes
Excel.EventSource
Excel.EventTriggerSource
Excel.EventType
Excel.ExternalErrorCellValueSubType

Represents types of #EXTERNAL! errors.

Excel.FieldErrorCellValueSubType

Represents types of #FIELD! errors.

Excel.FillPattern
Excel.FilterDatetimeSpecificity
Excel.FilterOn
Excel.FilterOperator
Excel.FunctionCellValueType

Represents the types of theFunctionCellValue object.

Excel.GeometricShapeType

Specifies the shape type for aGeometricShape object.

Excel.GroupOption
Excel.HeaderFooterState
Excel.HorizontalAlignment
Excel.IconSet
Excel.ImageFittingMode
Excel.InsertShiftDirection

Determines the direction in which existing cells will be shifted to accommodate what is being inserted.

Excel.KeyboardDirection
Excel.LabelFilterCondition

Enum representing all accepted conditions by which a label filter can be applied. Used to configure the type of PivotFilter that is applied to the field.PivotFilter.criteria.exclusive can be set totrue to invert many of these conditions.

Excel.LinkedDataTypeRefreshMode

Representation of a refresh mode.

Excel.LinkedDataTypeState
Excel.LinkedEntityDataDomainRefreshMode

Represents the refresh mode setting for theLinkedEntityCellValue objects of aLinkedEntityDataDomain.

Excel.LoadToType

An enum that specifies the query load to destination.

Excel.NamedItemScope
Excel.NamedItemType
Excel.NameErrorCellValueSubType

Represents types of #NAME? errors.

Excel.NotAvailableErrorCellValueSubType

Represents types of #N/A! errors.

Excel.NumberFormatCategory

Represents a category of number formats.

Excel.NumErrorCellValueSubType

Represents types of #NUM! errors.

Excel.PageOrientation
Excel.PaperType
Excel.PictureFormat

The format of the image.

Excel.PivotAxis

Represents the axis from which to get the PivotItems.

Excel.PivotFilterTopBottomCriterion

Represents the criteria for the top/bottom values filter.

Excel.PivotFilterType

A simple enum that represents a type of filter for a PivotField.

Excel.PivotLayoutType
Excel.PivotTableDateGroupBy

Represents the DateTime Grouping condition.

Excel.Placement

Specifies the way that an object is attached to its underlying cells.

Excel.PrintComments
Excel.PrintErrorType
Excel.PrintMarginUnit
Excel.PrintOrder
Excel.ProtectionSelectionMode
Excel.PythonMarshalMode

Specifies what an =PY formula returns, such as an Excel value or a Python object.

Excel.QueryError

An enum that specifies the query load error message.

Excel.RangeCopyType
Excel.RangeUnderlineStyle
Excel.RangeValueType
Excel.ReadingOrder
Excel.ReferenceValueType

Represents the types of theReferenceValue object.

Excel.RefErrorCellValueSubType

Represents types of #REF! errors.

Excel.RibbonTab
Excel.RowHiddenChangeType
Excel.SaveBehavior

Specifies the save behavior forWorkbook.save.

Excel.SearchDirection

Specifies the search direction.

Excel.ShapeAutoSize

Determines the type of automatic sizing allowed.

Excel.ShapeFillType

Specifies a shape's fill type.

Excel.ShapeFontUnderlineStyle

The type of underline applied to a font.

Excel.ShapeLineDashStyle

The dash style for a line.

Excel.ShapeLineStyle

The style for a line.

Excel.ShapeScaleFrom

Specifies which part of the shape retains its position when the shape is scaled.

Excel.ShapeScaleType

Specifies whether the shape is scaled relative to its original or current size.

Excel.ShapeTextHorizontalAlignment

Specifies the horizontal alignment for the text frame in a shape.

Excel.ShapeTextHorizontalOverflow

Specifies the horizontal overflow for the text frame in a shape.

Excel.ShapeTextOrientation

Specifies the orientation for the text frame in a shape.

Excel.ShapeTextReadingOrder

Specifies the reading order for the text frame in a shape.

Excel.ShapeTextVerticalAlignment

Specifies the vertical alignment for the text frame in a shape.

Excel.ShapeTextVerticalOverflow

Specifies the vertical overflow for the text frame in a shape.

Excel.ShapeType

Specifies the type of a shape.

Excel.ShapeZOrder

Specifies where in the z-order a shape should be moved relative to other shapes.

Excel.SheetVisibility
Excel.ShowAsCalculation

The ShowAs calculation function for the DataPivotField.

Excel.SlicerSortType

Specifies the slicer sort behavior forSlicer.sortBy.

Excel.SortBy

Represents the sort direction.

Excel.SortDataOption
Excel.SortMethod

Represents the ordering method to be used when sorting Chinese characters.

Excel.SortOn

Represents the part of the cell used as the sorting criteria.

Excel.SortOrientation
Excel.SpecialCellType
Excel.SpecialCellValueType
Excel.SpillErrorCellValueSubType

Represents types of #SPILL! errors.

Excel.SubtotalLocationType
Excel.TimeoutErrorCellValueSubType

Represents types of #TIMEOUT! errors.

Excel.TopBottomSelectionType

A simple enum for top/bottom filters to select whether to filter by the top N or bottom N percent, number, or sum of values.

Excel.ValueErrorCellValueSubType

Represents types of #VALUE! errors.

Excel.ValueFilterCondition

Enum representing all accepted conditions by which a value filter can be applied. Used to configure the type of PivotFilter that is applied to the field.PivotFilter.exclusive can be set totrue to invert many of these conditions.

Excel.VerticalAlignment
Excel.WorkbookLinksRefreshMode

Represents the refresh mode of the workbook links.

Excel.WorksheetPositionType

The position of a worksheet relative to another worksheet or the entire worksheet collection.

Functions

Excel.createWorkbook(base64)

Creates and opens a new workbook. Optionally, the workbook can be pre-populated with a Base64-encoded .xlsx file. 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 ]

Excel.getDataCommonPostprocess(response, callArgs)
Excel.postprocessBindingDescriptor(response)
Excel.run(batch)

Executes a batch script that performs actions on the Excel object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

Excel.run(object, batch)

Executes a batch script that performs actions on the Excel object model, using the RequestContext of a previously-created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

Excel.run(objects, batch)

Executes a batch script that performs actions on the Excel object model, using the RequestContext of previously-created API objects.

Excel.run(options, batch)

Executes a batch script that performs actions on the Excel object model, using the RequestContext of a previously-created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

Excel.run(context, batch)

Executes a batch script that performs actions on the Excel object model, using the RequestContext of a previously-created object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

Function Details

Excel.createWorkbook(base64)

Creates and opens a new workbook. Optionally, the workbook can be pre-populated with a Base64-encoded .xlsx file. 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 ]

export function createWorkbook(base64?: string): Promise<void>;

Parameters

base64

string

Returns

Promise<void>

Examples

const myFile = <HTMLInputElement>document.getElementById("file");const reader = new FileReader();reader.onload = (event) => {    Excel.run((context) => {    // Remove the metadata before the base64-encoded string.    const startIndex = reader.result.toString().indexOf("base64,");    const mybase64 = reader.result.toString().substr(startIndex + 7);    Excel.createWorkbook(mybase64);    return context.sync();    });};// Read in the file as a data URL so we can parse the base64-encoded string.reader.readAsDataURL(myFile.files[0]);

Excel.getDataCommonPostprocess(response, callArgs)

export function getDataCommonPostprocess(response: any, callArgs: any): any;

Parameters

response

any

callArgs

any

Returns

any

Excel.postprocessBindingDescriptor(response)

export function postprocessBindingDescriptor(response: any): any;

Parameters

response

any

Returns

any

Excel.run(batch)

Executes a batch script that performs actions on the Excel object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

export function run<T>(batch: (context: Excel.RequestContext) => Promise<T>): Promise<T>;

Parameters

batch

(context:Excel.RequestContext) => Promise<T>

A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Excel application. Since the Office add-in and the Excel application run in two different processes, the RequestContext is required to get access to the Excel object model from the add-in.

Returns

Promise<T>

Excel.run(object, batch)

Executes a batch script that performs actions on the Excel object model, using the RequestContext of a previously-created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

export function run<T>(object: OfficeExtension.ClientObject, batch: (context: Excel.RequestContext) => Promise<T>): Promise<T>;

Parameters

object
OfficeExtension.ClientObject

A previously-created API object. The batch will use the same RequestContext as the passed-in object, which means that any changes applied to the object will be picked up by "context.sync()".

batch

(context:Excel.RequestContext) => Promise<T>

A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Excel application. Since the Office add-in and the Excel application run in two different processes, the RequestContext is required to get access to the Excel object model from the add-in.

Returns

Promise<T>

Excel.run(objects, batch)

Executes a batch script that performs actions on the Excel object model, using the RequestContext of previously-created API objects.

export function run<T>(objects: OfficeExtension.ClientObject[], batch: (context: Excel.RequestContext) => Promise<T>): Promise<T>;

Parameters

objects

OfficeExtension.ClientObject[]

An array of previously-created API objects. The array will be validated to make sure that all of the objects share the same context. The batch will use this shared RequestContext, which means that any changes applied to these objects will be picked up by "context.sync()".

batch

(context:Excel.RequestContext) => Promise<T>

A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Excel application. Since the Office add-in and the Excel application run in two different processes, the RequestContext is required to get access to the Excel object model from the add-in.

Returns

Promise<T>

Excel.run(options, batch)

Executes a batch script that performs actions on the Excel object model, using the RequestContext of a previously-created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

export function run<T>(options: Excel.RunOptions, batch: (context: Excel.RequestContext) => Promise<T>): Promise<T>;

Parameters

options
Excel.RunOptions

The additional options for this Excel.run which specify previous objects, whether to delay the request for cell edit, session info, etc.

batch

(context:Excel.RequestContext) => Promise<T>

A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Excel application. Since the Office add-in and the Excel application run in two different processes, the RequestContext is required to get access to the Excel object model from the add-in.

Returns

Promise<T>

Excel.run(context, batch)

Executes a batch script that performs actions on the Excel object model, using the RequestContext of a previously-created object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

export function run<T>(context: OfficeExtension.ClientRequestContext, batch: (context: Excel.RequestContext) => Promise<T>): Promise<T>;

Parameters

context
OfficeExtension.ClientRequestContext

A previously-created object. The batch will use the same RequestContext as the passed-in object, which means that any changes applied to the object will be picked up by "context.sync()".

batch

(context:Excel.RequestContext) => Promise<T>

A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Excel application. Since the Office add-in and the Excel application run in two different processes, the RequestContext is required to get access to the Excel object model from the add-in.

Returns

Promise<T>

Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo