Excel.Interfaces.WorksheetUpdateData interface
An interface for updating data on the Worksheet
object, for use in worksheet.set({ ... })
.
Properties
enable |
Determines if Excel should recalculate the worksheet when necessary. True if Excel recalculates the worksheet when necessary. False if Excel doesn't recalculate the sheet. |
name | The display name of the worksheet. The name must be fewer than 32 characters. |
page |
Gets the |
position | The zero-based position of the worksheet within the workbook. |
show |
Specifies if gridlines are visible to the user. |
show |
Specifies if headings are visible to the user. |
standard |
Specifies the standard (default) width of all the columns in the worksheet. One unit of column width is equal to the width of one character in the Normal style. For proportional fonts, the width of the character 0 (zero) is used. |
tab |
The tab color of the worksheet. When retrieving the tab color, if the worksheet is invisible, the value will be |
visibility | The visibility of the worksheet. |
Property Details
enableCalculation
Determines if Excel should recalculate the worksheet when necessary. True if Excel recalculates the worksheet when necessary. False if Excel doesn't recalculate the sheet.
enableCalculation?: boolean;
Property Value
boolean
Remarks
name
The display name of the worksheet. The name must be fewer than 32 characters.
name?: string;
Property Value
string
Remarks
pageLayout
Gets the PageLayout
object of the worksheet.
pageLayout?: Excel.Interfaces.PageLayoutUpdateData;
Property Value
Remarks
position
The zero-based position of the worksheet within the workbook.
position?: number;
Property Value
number
Remarks
showGridlines
Specifies if gridlines are visible to the user.
showGridlines?: boolean;
Property Value
boolean
Remarks
showHeadings
Specifies if headings are visible to the user.
showHeadings?: boolean;
Property Value
boolean
Remarks
standardWidth
Specifies the standard (default) width of all the columns in the worksheet. One unit of column width is equal to the width of one character in the Normal style. For proportional fonts, the width of the character 0 (zero) is used.
standardWidth?: number;
Property Value
number
Remarks
tabColor
The tab color of the worksheet. When retrieving the tab color, if the worksheet is invisible, the value will be null
. If the worksheet is visible but the tab color is set to auto, an empty string will be returned. Otherwise, the property will be set to a color, in the form #RRGGBB (e.g., "FFA500"). When setting the color, use an empty-string to set an "auto" color, or a real color otherwise.
tabColor?: string;
Property Value
string
Remarks
visibility
The visibility of the worksheet.
visibility?: Excel.SheetVisibility | "Visible" | "Hidden" | "VeryHidden";
Property Value
Excel.SheetVisibility | "Visible" | "Hidden" | "VeryHidden"
Remarks
[ API set: ExcelApi 1.1 for reading visibility; 1.2 for setting it. ]
Office Add-ins