Worksheet Methods
A worksheet in a workbook.Name | Description |
---|---|
Add |
Extends print range by merging with the specified range. |
Auto |
Automatically creates an outline for the specified worksheet. |
Calculate() | Forces recalculation of the current worksheet and does not look for circular references. |
Clear |
Removes cell content, formatting, hyperlinks and comments. |
Clear |
Removes cell comments and simple notes. |
Clear |
Removes cell content. |
Clear |
Removes cell formatting. |
Clear |
Removes cell hyperlinks. |
Clear |
Clears the outline for the specified worksheet. |
Clear |
Clears the print area in the current worksheet. |
Copy |
Copies data from the specified worksheet to the current worksheet and allows you to specify copy options. |
Copy |
Copies the specified worksheet into the current instance. |
Create |
Creates a new object that contains information about the comment author. |
Delete |
Deletes cells from the worksheet. |
Delete |
Deletes cells from a worksheet, shifting other cells in the same row to the left. |
Freeze |
Freezes the specified number of columns to the right of the specified cell, including the column that contains this cell. |
Freeze |
Freezes the specified number of columns on the left side of the worksheet. |
Freeze |
Freezes the specified number of rows and columns below and to the right of the specified cell, including the row and column containing this cell. |
Freeze |
Freezes the specified number of rows and columns at the top and on the left side of the worksheet. |
Freeze |
Freezes the specified number of rows below the specified cell, including the row that contains this cell. |
Freeze |
Freezes the specified number of rows at the top of the worksheet. |
Get |
Obtains the cell value for the specified cell.
Inherited from External |
Get |
Gets the worksheet range that encompasses all cells containing data and formulas. |
Get |
Gets the existing cells in the worksheet. |
Get |
Returns a worksheet range that can be printed. |
Get |
Calculates a worksheet range that can be printed with respect to the specified print area. |
Get |
Returns the permission set for a protected worksheet. |
Get |
Returns cell ranges currently selected in the worksheet. |
Get |
Returns shapes currently selected in the worksheet. |
Get |
Returns the used range on the specified worksheet. |
Insert |
Inserts new cells in the worksheet. |
Insert |
Inserts new cells in a worksheet, shifting other cells in the same column down. |
Merge |
Merges cells in the specified mode. |
Merge |
Merges the specified cells. |
Move |
Moves the worksheet to another location within the workbook’s collection of worksheets. |
Move |
Moves the current sheet after the specified sheet in a workbook. Inherited from Sheet. |
Move |
Moves the current sheet before the specified sheet in a workbook. Inherited from Sheet. |
Move |
Moves the current sheet to the first position in a workbook. Inherited from Sheet. |
Move |
Moves the current sheet to the last position in a workbook. Inherited from Sheet. |
Print() | Prints the current sheet using the default printer settings. Inherited from Sheet. |
Print |
Prints the current sheet using the specified printer settings. Use this method overload in non-Windows environments. Inherited from Sheet. |
Print |
Prints the current sheet using the specified printer settings. Inherited from Sheet. |
Protect |
Protects worksheet elements to prevent them from being changed by the user. |
Remove |
Removes subtotals for the specified cell range. |
Scroll |
Scrolls the worksheet to the top-left cell of the specified range. |
Scroll |
Scrolls the worksheet to the specified column and row. |
Scroll |
Scrolls the worksheet to the specified column. |
Scroll |
Scrolls the worksheet to the specified column. |
Scroll |
Scrolls the worksheet to the specified row. |
Scroll |
Scrolls the worksheet to the specified row. |
Search |
Performs a search in the worksheet using specified options. |
Search |
Performs a search in the worksheet using the default parameters. |
Set |
Defines the print range. |
Set |
Selects cell ranges in the worksheet and specifies whether the selection expands to fit merged cells. |
Set |
Sets cell ranges selected in the worksheet. |
Set |
Sets shapes selected in the worksheet. |
Sort |
Sorts the specified range by the specified color in the specified order. |
Sort |
Sorts the specified range by the specified color in ascending order. |
Sort |
Sorts the specified range by the first column. |
Sort |
Sorts the specified range by multiple columns. |
Sort |
Sorts the specified range by the font color in a specific order. |
Sort |
Sorts the specified range by the specified font color in ascending order. |
Sort |
Sorts the specified range by the fill color in a specific order. Allows you to specify column offset. |
Sort |
Sorts the specified range by the fill color. Allows you to specify column offset. |
Sort |
Sorts the specified range by the specified column. |
Sort |
Sorts the specified range by the specified column using the specified comparer. |
Sort |
Sorts the specified range by the font color in a specific order. Allows you to specify column offset. |
Sort |
Sorts the specified range by the background color. Allows you to specify column offset. |
Sort |
Sorts the specified range by the specified column in ascending order. |
Sort |
Sorts the specified range by the first column in ascending order. |
Subtotal |
Creates subtotals for the specified range of cells. |
Unfreeze |
Unfreezes rows and columns on the worksheet. |
Un |
Unmerges the specified cells that have been merged. |
Unprotect |
Removes protection from a worksheet. |
See Also