Hi,
These two codes do exactly what i want.
Sub one()
Range("A1").Select
End Sub
Sub two()
Range("A65536").End(xlUp).Offset(1, 0).Select
End Sub
I'm trying to put them into one code which i can attach to
a button. The result will be a toggle between the two when
the buttom is clicked.
I can get one or the other to work but not both. Have tried
different versions of this with no luck. What am i doing wrong?
Sub TopBottomToggle()
If Range("A1").Select = False Then
Range("A1").Select
Else
Range("A65536").End(xlUp).Offset(1, 0).Select
End If
End Sub
Thx
Dave
Bookmarks