Represents a worksheet in a workbook, that is, a rectangular grid of cells containing data.
The following tables list the members exposed by the Worksheet type.
Name | Description | |
---|---|---|
Gets an AutoFilter object if autofiltering is enabled; otherwise, null. |
||
Gets or sets a value indicating whether there is an active autofilter in the worksheet. |
||
Gets an object that can be used to access and manipulate rectangular ranges of worksheet cells. |
||
Gets an object that can be used to access worksheet cells by (column, row) index or by name. |
||
Gets an object that can be used to insert, delete and modify worksheet columns. |
||
Gets or sets the default width of columns. |
||
Gets or sets the default height of rows. |
||
IDocumentPaginatorSource.DocumentPaginator implementation. |
||
Gets the Drawing object associated with the worksheet. |
||
Gets or sets the index of the first frozen column in the worksheet. |
||
Gets or sets the index of the first frozen row in the worksheet. |
||
Gets or sets the number of frozen columns in the worksheet. |
||
Gets or sets the number of frozen rows in the worksheet. |
||
Gets the locale of the parent workbook. |
||
Gets a list with the currently merged cells. |
||
Gets or sets the name of the worksheet. |
||
Gets an object that can be used to insert, delete and modify worksheet rows. |
||
Gets or sets a custom object associated with the worksheet. |
||
Gets or sets a value indicating whether this worksheet is visible. |
Name | Description | |
---|---|---|
Signals the worksheet to enter an initialization state. To exit the initialization state, call EndInit. |
||
Clears the entire content of the worksheet. |
||
Overloaded. Copies this worksheet to another workbook. |
||
Copies the data in the specified range and returns an object identifying the copied data. |
||
Copies the styles in the specified range and returns an object identifying the copied styles. |
||
Signals the worksheet that initialization is complete. To enter initialization state, call BeginInit. |
||
Overloaded. Gets the merged cell containing the specified cell. |
||
Overloaded. Merges the cells in a specified range into a single cell. |
||
Overloaded. Moves this worksheet to another workbook. |
||
Pastes the data identified by the specified object at the specified location. The data in the target range is discarded. |
||
Pastes the styles identified by the specified object at the specified location. The style information in the target range is discarded. |
||
Sorts the data in the specified range according to the specified criteria. |
||
Object.ToString override. |
||
Overloaded. Unmerges all merged cells intersecting with a specified range. |
Name | Description | |
---|---|---|
Raises the CellChanged event. |
||
Raises the CellChanging event. |
||
Raises the CellsCleared event. |
||
Raises the ColumnChanged event. |
||
Raises the PropertyChanged event. |
||
Raises the PropertyValueChanged event. |
||
Raises the RowChanged event. |
||
Raises the ValidationFailed event. |
Name | Description | |
---|---|---|
Raised when a cell of the worksheet is changed. |
||
Raised when a cell of the worksheet is about to change. |
||
Raised when a range of cells has been cleared. |
||
Raised when a column is changed. |
||
Raised when a property of the worksheet is changed. |
||
Raised when a property of the worksheet is changed. |
||
Raised when a row is changed. |
||
Raised when the validation of entered data has failed and the validation's ErrorAction property is set to RaiseEvent. |