Returns the range reference.
[Visual Basic] Function Address( _ ByVal RowAbsolute As Boolean, _ ByVal ColAbsolute As Boolean, _ ByVal External As Boolean _ ) As String [C#] string Address( bool RowAbsolute, bool ColAbsolute, bool External ); [C++] String* Address( bool RowAbsolute, bool ColAbsolute, bool External ); [JScript] function Address( bool RowAbsolute, bool ColAbsolute, bool External ): String;
Returns a string.
This example returns the external reference for the used range
[C#]
string ref = book.Worksheets[1].UsedRange.Address(false, false, true);
[Visual Basic]
Dim ref As String = book.Worksheets(1).UsedRange.Address(False, False, True)
[C++]
String^ ref = book->Worksheets->Item[1]->UsedRange->Address(false, false, true);
IRange Interface | NativeExcel Namespace | IRange.Address Overload List