Just Wandering
rentapen
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Row = 11 Then
Cells(1, Target.Column + 1).Select
End If
End Sub
On that sheet, whenever a cell in row 11 would be selected (as when the
user presses enter from row 10), then the first row in the next column
will be selected instead.
Jerry
just wandering
rentapen
Jerry W. Lewis <post_a_reply@no_e-mail.com> wrote in message
news:3F0BFCFF.2060509@no_e-mail.com...
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With ActiveWindow
If Not Application.Intersect(Target, Range("m4:m300")) Is Nothing Then
Cells(ActiveCell.Row, 1).Select
End If
End With
End Sub
It goes to the end of my row and returns. But to the start of the same row.
Thats ok but a shift down one row would be nice.
just wandering
rent
Rentapen <rent...@yahoo.com> wrote in message
news:KGUOa.2724$Yk4....@newssvr17.news.prodigy.com...
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With ActiveWindow
If Target.Column > 12 Then
ActiveCell.Offset(1, 1 - Target.Column).Select
End If
End With
End Sub
This works fine for my app.
rent
Rentapen <rent...@yahoo.com> wrote in message
news:LMWOa.591$GB...@newssvr33.news.prodigy.com...