automatically move cursor to top of a column

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would appreciate if someone could please help with the following problem.
I would like to be able to enter data to a specific cell (say A10) then
automatically get the cursor to jump to the top of the next column, (say B1)
then be able to enter data to the specific cell in this column (say B10) and
then, again, get the cursor to jump to the top of the next column (say C1) in
an attempt to be able to see all data entered on the screen without having to
scroll. I imagine some sort of macro might do the trick. I am using Excel
2003.

Thanking you in advance,
Jelena
 
Put this in the worksheet code area:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Rows("10:10")) Is Nothing Then Exit Sub
Cells(1, Target.Column + 1).Select
End Sub
 
Or

Private Sub Worksheet_Change(ByVal Target As Range)

If Intersect(Target, Rows("10:10")) Is Nothing Then Exit Sub
If Target.Parent.Columns.Count > Target.Column Then
Cells(1, Target.Column + 1).Select
Else
Cells(1, 1).Select
End If
End Sub

;) I'm guessing they'll never get to the last column though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top