Movement of cursor

L

L...

Have a spread sheet with several columns(14).
Would like be able to hit a key (i.e. Enter) to return to next row and back
to column #1.

thanks,

L.
 
D

davesexcel

I was thinking of a worksheet change event but this would only work if
you made a change in a cell so how about a right click event
when the user right clicks on the mouse he will be returned to column A
one row down

this code goes into the worksheet module

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As
Boolean)
If Union(Range("$A:$N"), Target).Address = Range("$A:$N").Address Then

Application.SendKeys "{home}"
ActiveCell.Offset(1, 0).Range("A1").Select
Cancel = True
End If
End Sub
 
R

R..VENKATARAMAN

create a command button and put this code in that
Private Sub CommandButton1_Click()
Cells((ActiveCell.Row) + 1, "a").Select
End Sub
try this.
 
L

L...

Thanks for the suggestions.

L.

R..VENKATARAMAN said:
create a command button and put this code in that
Private Sub CommandButton1_Click()
Cells((ActiveCell.Row) + 1, "a").Select
End Sub
try this.
 
Top