I was playing around with Range.Address. For what purposes would the parameter RelativeTo be used?
The following code returns "R[-1]C[-1]":
Code: Select all
Dim r As Range
Set r = Range("A1")
MsgBox r.Address(RowAbsolute:=False, ColumnAbsolute:=False, _
ReferenceStyle:=xlR1C1, RelativeTo:=Range("B2"))