...
Description |
---|
Excerpt |
---|
Creates a Range of cells from an array of Areas. A |
Signature | ||||
---|---|---|---|---|
| ||||
public Range CreateNamedRange(Area[] rangeAreas, System.String rangeName)
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Function CreateNamedRange(ByVal rangeAreas As Area(), ByVal rangeName As String) As Range
{signature}
{parameters}
{param:rangeAreas}Array or Areas representing the range.{param}
{param:rangeName}The name to assign to the range.{param}
{returns}A {{Range}} object representing the range of cells created.{returns}
{remarks}
Note that if a range named {{rangeName}} already exists in the workbook, it will be overwritten with the new named range created by this method.
{remarks}
{example}{code:csharp|title=C#} |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
Array or Areas representing the range. |
Param | ||||
---|---|---|---|---|
| ||||
The name to assign to the range. |
Returns |
---|
A |
Remarks |
---|
Note that if a range named |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|