CellRange Members
In This Article
#Properties
Name | Description |
---|---|
Alignment | Provides access to cell alignment. Inherited from Formatting. |
Areas | Provides access to the ranges that comprise a complex (union) range. |
Array |
Gets or sets the array formula associated with the cell or cell range. |
Array |
Gets or sets the array formula in the invariant culture. |
Borders | Provides access to cell borders. Inherited from Formatting. |
Bottom |
Gets the index of the row that includes the bottom edge of the cell range. |
Column |
Gets the number of columns in the cell range. |
Column |
Gets or sets the width of columns that contain this cell range. |
Column |
Gets or sets the width of columns that contain the cell range in characters of the default font specified by the built-in Normal style. |
Current |
Gets a range with non-empty cells surrounded by empty rows and columns. |
Dependents | Gets a list of ranges (cells) whose formulas refer to the current range or cell, directly or indirectly (at any level). |
Direct |
Gets a list of ranges (cells) whose formulas use the current range or cell. |
Direct |
Gets a list of ranges (cells) that are directly referred to in the formulas in the current cell or range. |
Dynamic |
Gets or sets the dynamic array formula associated with the cell or cell range. |
Dynamic |
Gets or sets the dynamic array formula in the invariant culture. |
Existing |
Gets the existing cells in the current cell range. |
Fill | Provides access to cell background. Inherited from Formatting. |
Fill |
Gets or sets the cell background color. |
Flags | Provides access to flags that control which cell format attributes are specified by the applied cell style and which ones are specified by direct cell formatting. Inherited from Formatting. |
Font | Provides access to the cell font. Inherited from Formatting. |
Formula | Gets or sets the formula contained in the cell or cell range. |
Formula |
Gets or sets the range formula in the invariant culture. |
Has |
Determines whether the current cell or cell range intersects a range filled with a legacy array formula. |
Has |
Checks whether the current cell range contains data. |
Has |
Determines whether the current cell or cell range intersects a range filled with a dynamic array formula. |
Has |
Determines whether all cells in the range contain a formula. |
Has |
Gets a value indicating whether a cell contains rich formatted text. |
Is |
Determines whether the range is created by merging cells. |
Item[Int32, Int32] | Gets an individual cell by row and column offsets from the top left cell of the current range. |
Item[Int32] | Gets an individual cell by its index in the range of cells. |
Left |
Gets the index of the column that includes the left edge of the cell range. |
Name | Gets or sets the name of the cell range. |
Number |
Specifies a number format for a numeric cell value in the invariant culture. Inherited from Formatting. |
Number |
Specifies a number format for a numeric cell value based on the current (local) culture. Inherited from Formatting. |
Precedents | Gets a list of ranges (cells) that are used by a formula in the current cell or range. |
Protection | Provides access to options which are in effect when the worksheet is protected. Inherited from Formatting. |
Right |
Gets the index of the column that includes the right edge of the cell range. |
Row |
Gets the number of rows in the cell range. |
Row |
Gets or sets the height of rows that contain this cell range. |
Style | Gets or sets the style applied to the current range of cells. |
Top |
Gets the index of the row that includes the top edge of the cell range. |
Value | Gets or sets a cell value. |
Worksheet | Gets the worksheet that contains the cell range. |
#Methods
Name | Description |
---|---|
Begin |
Locks the Formatting object. Prevents visual updates until the End method calls.
Inherited from Formatting. |
Begin |
Starts modifying the cell range formatting. |
Calculate() | Forces recalculation of the current cell range. |
Contains |
Determines whether the current cell range contains the specified range. |
Copy |
Copies the source range of cells and pastes the specified part of the copied data into the current cell range. |
Copy |
Copies the source range of cells and pastes the specified part of the copied data into the current cell range. |
Copy |
Copies the specified range of cells into the current range. |
End |
Unlocks the Formatting object after you call Begin . It also causes an immediate visual update.
Inherited from Formatting. |
End |
Finalizes the modification of the cell range formatting after calling the Cell |
Equals |
Determines whether or not the specified object is equal to the current Formatting instance. Inherited from Formatting. |
Exclude |
Excludes the specified cell or cell range from the current range. |
Get |
Creates the data source from the current cell range. |
Get |
Creates the data source from the current cell range using the specified options. |
Get |
Returns a defined name associated with the current range. |
Get |
Returns a defined name declared in the specified scope and associated with the current cell range. |
Get |
Returns an enumerator that iterates through the collection.
Inherited from IEnumerable |
Get |
Returns merged ranges intersecting the current cell range. |
Get |
Returns the cell range that covers the current range and does not contain the intersecting ranges. |
Get |
Returns the copy of the source range with its reference replaced by the absolute reference. |
Get |
Returns the copy of the source range with its reference replaced by the relative reference. |
Get |
Gets the relative cell or cell range reference in the A1 reference style. |
Get |
Gets the cell or cell range reference in the A1 reference style. |
Get |
Gets the relative cell or cell range reference in the R1C1 reference style. |
Get |
Gets the cell or cell range reference in the R1C1 reference style. |
Get |
Gets the rich text string contained in a cell. |
Intersect |
Returns the cell range that is the intersection of the current and specified ranges. |
Is |
Determines whether the current range intersects with the specified range. |
Move |
Moves a range to a specified location. |
Offset |
Returns a cell range that is a given number of rows and columns from the current range. |
Resize |
Resizes the current cell range. |
Search |
Performs a search in the cell range using specified options. |
Search |
Performs a search in the cell range using the default parameters. |
Set |
Sets all inside borders of the cell range. |
Set |
Assigns the rich formatted text to a cell. |
Set |
Converts the specified object to the cell value. |
Set |
Parses the supplied string and creates a cell value to assign it to the cells in the current range. |
Set |
Parses the supplied string and creates a cell value to assign it to the cells in the current range. |
Union |
Creates a complex range that is the union of multiple ranges. |
See Also