ExcelNamedRangesCollectionAddNamedRange Method |
Creates and adds a new named range to the collection.
Namespace:
ExpertXls.ExcelLib
Assembly:
expertxls (in expertxls.dll) Version: 7.0.0
Syntax public ExcelNamedRange AddNamedRange(
ExcelRange referencedRange,
string name
)
Public Function AddNamedRange (
referencedRange As ExcelRange,
name As String
) As ExcelNamedRange
Parameters
- referencedRange
- Type: ExpertXls.ExcelLibExcelRange
The referenced ExcelRange. - name
- Type: SystemString
The name of the new named range.
Return Value
Type:
ExcelNamedRangeThe newly created named range.
See Also