Hi
I'm trying to select a range in VBA (from cell A2 to M2 down to the bottom of the range of data), but the Sub is going to the bottom of column A instead of selecting the range.
Can someone please clarify why?
I used this code:
I'm trying to select a range in VBA (from cell A2 to M2 down to the bottom of the range of data), but the Sub is going to the bottom of column A instead of selecting the range.
Can someone please clarify why?
I used this code:
Code:
Sub R1()
Range("A2:m2").End(xlDown).Select
End Sub