WorksheetCollectionGetNamedRanges Method

Gets all pre-defined named ranges in the spreadsheet.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public Range[] GetNamedRanges()

Return Value

Type: Range
An array of Range objects. If the defined Name's reference is external or has multiple ranges, no Range object will be returned for this Name.

Returns null if the named range does not exist.
See Also