'DeclarationFunction GetAddress( _ ByVal rowAbsolute As System.Boolean, _ ByVal colAbsolute As System.Boolean, _ ByVal referenceStyle As ReferenceStyle, _ ByVal external As System.Boolean, _ ByVal relativeTo As IRange _ ) As System.String
'UsageDim instance As IRange Dim rowAbsolute As System.Boolean Dim colAbsolute As System.Boolean Dim referenceStyle As ReferenceStyle Dim external As System.Boolean Dim relativeTo As IRange Dim value As System.String value = instance.GetAddress(rowAbsolute, colAbsolute, referenceStyle, external, relativeTo)
System.string GetAddress( System.bool rowAbsolute, System.bool colAbsolute, ReferenceStyle referenceStyle, System.bool external, IRange relativeTo )
Parameters
- rowAbsolute
- True if the row should be treated as an absolute reference, false otherwise.
- colAbsolute
- True if the column should be treated as an absolute reference, false otherwise.
- referenceStyle
- Specfies whether A1 style or R1C1 style should be used.
- external
- True if the workbook and worksheet should be included in the address, false otherwise.
- relativeTo
- Represents the cell which this range is relative to. This parameter is unused for A1 style. It may be null to indicate relative to the top-left cell (A1).
Return Value
The string representing the address of the range.