Excel.Interfaces.WindowUpdateData interface
An interface for updating data on the Window object, for use in window.set({ ... }).
Properties
| active |
Specifies the active cell in the window. |
| active |
Specifies the active sheet in the window. |
| auto |
Specifies whether AutoFilter date grouping is enabled in the window. |
| freeze |
Specifies whether panes are frozen in the window. |
| height | Specifies the height of the window. |
| is |
Specifies whether the window is visible. |
| left | Specifies the distance, in points, from the left edge of the computer screen to the left edge of the window. |
| name | Specifies the name of the window. |
| range |
Gets the range selection in the window. |
| scroll |
Specifies the scroll column of the window. |
| scroll |
Specifies the scroll row of the window. |
| show |
Specifies whether formulas are shown in the window. |
| show |
Specifies whether gridlines are shown in the window. |
| show |
Specifies whether headings are shown in the window. |
| show |
Specifies whether the horizontal scroll bar is shown in the window. |
| show |
Specifies whether outline is shown in the window. |
| show |
Specifies whether the ruler is shown in the window. |
| show |
Specifies whether the vertical scroll bar is shown in the window. |
| show |
Specifies whether whitespace is shown in the window. |
| show |
Specifies whether workbook tabs are shown in the window. |
| show |
Specifies whether zeroes are shown in the window. |
| split | Specifies the split state of the window. |
| split |
Specifies the split column of the window. |
| split |
Specifies the horizontal split of the window. |
| split |
Specifies the split row of the window. |
| split |
Specifies the vertical split of the window. |
| tab |
Specifies the tab ratio of the window. |
| top | Specifies the distance, in points, from the top edge of the window to the top edge of the usable area (below the menus, any toolbars docked at the top, and the formula bar). |
| view | Specifies the view of the window. |
| visible |
Gets the visible range of the window. |
| width | Specifies the display width of the window. |
| window |
Specifies the window state. |
| zoom | Specifies an integer value that represents the display size of the window. It can be set to a percentage between 10 and 400. |
Property Details
activeCell
Specifies the active cell in the window.
activeCell?: Excel.Interfaces.RangeUpdateData;
Property Value
Remarks
activeWorksheet
Specifies the active sheet in the window.
activeWorksheet?: Excel.Interfaces.WorksheetUpdateData;
Property Value
Remarks
autoFilterDateGroupingEnabled
Specifies whether AutoFilter date grouping is enabled in the window.
autoFilterDateGroupingEnabled?: boolean;
Property Value
boolean
Remarks
freezePanes
Specifies whether panes are frozen in the window.
freezePanes?: boolean;
Property Value
boolean
Remarks
height
Specifies the height of the window.
height?: number;
Property Value
number
Remarks
isVisible
Specifies whether the window is visible.
isVisible?: boolean;
Property Value
boolean
Remarks
left
Specifies the distance, in points, from the left edge of the computer screen to the left edge of the window.
left?: number;
Property Value
number
Remarks
name
Specifies the name of the window.
name?: string;
Property Value
string
Remarks
rangeSelection
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets the range selection in the window.
rangeSelection?: Excel.Interfaces.RangeAreasUpdateData;
Property Value
Remarks
scrollColumn
Specifies the scroll column of the window.
scrollColumn?: number;
Property Value
number
Remarks
scrollRow
Specifies the scroll row of the window.
scrollRow?: number;
Property Value
number
Remarks
showFormulas
Specifies whether formulas are shown in the window.
showFormulas?: boolean;
Property Value
boolean
Remarks
showGridlines
Specifies whether gridlines are shown in the window.
showGridlines?: boolean;
Property Value
boolean
Remarks
showHeadings
Specifies whether headings are shown in the window.
showHeadings?: boolean;
Property Value
boolean
Remarks
showHorizontalScrollBar
Specifies whether the horizontal scroll bar is shown in the window.
showHorizontalScrollBar?: boolean;
Property Value
boolean
Remarks
showOutline
Specifies whether outline is shown in the window.
showOutline?: boolean;
Property Value
boolean
Remarks
showRuler
Specifies whether the ruler is shown in the window.
showRuler?: boolean;
Property Value
boolean
Remarks
showVerticalScrollBar
Specifies whether the vertical scroll bar is shown in the window.
showVerticalScrollBar?: boolean;
Property Value
boolean
Remarks
showWhitespace
Specifies whether whitespace is shown in the window.
showWhitespace?: boolean;
Property Value
boolean
Remarks
showWorkbookTabs
Specifies whether workbook tabs are shown in the window.
showWorkbookTabs?: boolean;
Property Value
boolean
Remarks
showZeros
Specifies whether zeroes are shown in the window.
showZeros?: boolean;
Property Value
boolean
Remarks
split
Specifies the split state of the window.
split?: boolean;
Property Value
boolean
Remarks
splitColumn
Specifies the split column of the window.
splitColumn?: number;
Property Value
number
Remarks
splitHorizontal
Specifies the horizontal split of the window.
splitHorizontal?: number;
Property Value
number
Remarks
splitRow
Specifies the split row of the window.
splitRow?: number;
Property Value
number
Remarks
splitVertical
Specifies the vertical split of the window.
splitVertical?: number;
Property Value
number
Remarks
tabRatio
Specifies the tab ratio of the window.
tabRatio?: number;
Property Value
number
Remarks
top
Specifies the distance, in points, from the top edge of the window to the top edge of the usable area (below the menus, any toolbars docked at the top, and the formula bar).
top?: number;
Property Value
number
Remarks
view
Specifies the view of the window.
view?: Excel.WindowView | "normalView" | "pageBreakPreview" | "pageLayoutView";
Property Value
Excel.WindowView | "normalView" | "pageBreakPreview" | "pageLayoutView"
Remarks
visibleRange
Gets the visible range of the window.
visibleRange?: Excel.Interfaces.RangeUpdateData;
Property Value
Remarks
width
Specifies the display width of the window.
width?: number;
Property Value
number
Remarks
windowState
Specifies the window state.
windowState?: Excel.WindowState | "maximized" | "minimized" | "normal";
Property Value
Excel.WindowState | "maximized" | "minimized" | "normal"
Remarks
zoom
Specifies an integer value that represents the display size of the window. It can be set to a percentage between 10 and 400.
zoom?: number;
Property Value
number