I am trying to refer to A1 using the Cells property rather than using Range as i understand it is better practice and will help as i learn to use VBA. However i cannot seem to make it happen.
Here is what i have using Range which works fine. Could anybody help by replacing it with the equivillant Cells property so i can see where i am going wrong?
Sub CheckA1()
If ActiveCell = Range("A1") Then
MsgBox ("Active cell is A1")
Else: MsgBox ("Active cell is NOT A1")
End If
End Sub
Regards
Adrian
Bookmarks