PC Review


Reply
Thread Tools Rate Thread

automatically move cursor to top of a column

 
 
=?Utf-8?B?SmVsZW5h?=
Guest
Posts: n/a
 
      24th Aug 2007
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      24th Aug 2007
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


--
Gary''s Student - gsnu200739


"Jelena" wrote:

> 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

 
Reply With Quote
 
=?Utf-8?B?QmFyYiBSZWluaGFyZHQ=?=
Guest
Posts: n/a
 
      24th Aug 2007
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.


"Gary''s Student" wrote:

> 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
>
>
> --
> Gary''s Student - gsnu200739
>
>
> "Jelena" wrote:
>
> > 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

 
Reply With Quote
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      24th Aug 2007
Your update is a good correction.
--
Gary''s Student - gsnu200739


"Barb Reinhardt" wrote:

> 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.
>
>
> "Gary''s Student" wrote:
>
> > 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
> >
> >
> > --
> > Gary''s Student - gsnu200739
> >
> >
> > "Jelena" wrote:
> >
> > > 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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Automatically move cursor when cell value changes =?Utf-8?B?R2FyeScncyBTdHVkZW50?= Microsoft Excel New Users 1 23rd Jan 2007 12:03 AM
How to automatically move cursor from one field to the next =?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?= Microsoft Access Form Coding 4 25th Jul 2006 09:53 PM
how to move the cursor to column A after entering data column F =?Utf-8?B?dHNrYWlzZXI=?= Microsoft Excel New Users 2 29th Apr 2006 02:28 PM
How to move cursor automatically! JCW Windows XP Basics 3 4th May 2004 01:01 AM
Move Cursor Automatically in Text Box Rhonda Floyd Microsoft Access Forms 1 27th Aug 2003 10:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:19 PM.