SpreadsheetGear 2023
Name Property (IRange)


SpreadsheetGear Namespace > IRange Interface : Name Property
Returns the first defined name which refers to the cells represented by this range, or null if no defined name refers to the range.
Syntax
'Declaration
 
ReadOnly Property Name As IName
'Usage
 
Dim instance As IRange
Dim value As IName
 
value = instance.Name
IName Name {get;}
Remarks

The IRange.Worksheet.Workbook.Names collection is searched in ascending order.

If no matching defined name is found, null is returned.

Only simple defined names are searched. For example, a defined name which uses the OFFSET() worksheet function will not be considered.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IRange Interface
IRange Members