Explain about ADDRESS property
Answer
ADDRESS property of Active cell
Private Sub CommandButton1_Click()
'absolute reference which is default
MsgBox ActiveCell.Address
Range("A1") = ActiveCell.Address(True, True)
Range("A2") = ActiveCell.Address(False, True)
Range("A3") = ActiveCell.Address(True, False)
Range("A4") = ActiveCell.Address(False, False)
End Sub
ADDRESS property
Private Sub CommandButton1_Click()
a = Range("A1").End(xlDown).Address
MsgBox a
End Sub