PC Review


Reply
Thread Tools Rate Thread

Cursor movement upon an event

 
 
=?Utf-8?B?TWVraW5uaWs=?=
Guest
Posts: n/a
 
      2nd Oct 2007
Lets say I have a worksheet with columns from A-G, when I enter a value into
column G I would like the cursor to move down 1 row and return to column B.
this would speed up my ability to enter my data in.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      2nd Oct 2007
Select columns A:G and then do you entry using the enter key or the tab key.
If the enter key does move right, then change it under tools->Options->Edit
tab under Move Selection after Enter

You can write a macro to do it, but seems like overkill to me if you can
exercise a little discipline.

--
regards,
Tom Ogilvy


"Mekinnik" wrote:

> Lets say I have a worksheet with columns from A-G, when I enter a value into
> column G I would like the cursor to move down 1 row and return to column B.
> this would speed up my ability to enter my data in.

 
Reply With Quote
 
paul.robinson@it-tallaght.ie
Guest
Posts: n/a
 
      2nd Oct 2007
Hi
Go into Tools, Macros, Visual Basic Editor. In the Project Explorer
Window on the left look for your excel file and double click the sheet
name where you want to enter data. In the blank code module that
appears paste this:

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Range("G:G"), Target) Is Nothing Then
Target.Offset(1, -5).Activate
End If
End Sub

regards
Paul

On Oct 2, 2:11 pm, Mekinnik <Mekin...@discussions.microsoft.com>
wrote:
> Lets say I have a worksheet with columns from A-G, when I enter a value into
> column G I would like the cursor to move down 1 row and return to column B.
> this would speed up my ability to enter my data in.



 
Reply With Quote
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      2nd Oct 2007
Private Sub Worksheet_Change(ByVal Target As Range)
Set r = Range("G:G")
If Intersect(Target, r) Is Nothing Then Exit Sub
Cells(Target.Row + 1, "B").Select
End Sub

This is worksheet code and must be pasted in the worksheet code area, not a
standard module.
--
Gary''s Student - gsnu200748


"Mekinnik" wrote:

> Lets say I have a worksheet with columns from A-G, when I enter a value into
> column G I would like the cursor to move down 1 row and return to column B.
> this would speed up my ability to enter my data in.

 
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
Cursor movement pfk5971 Microsoft Excel Misc 1 12th Jul 2009 12:03 AM
cursor movement =?Utf-8?B?UGF1bG8gQ291dG8=?= Microsoft Excel Misc 5 25th Oct 2007 11:32 PM
cursor movement =?Utf-8?B?bmluYQ==?= Microsoft Word Document Management 1 7th Mar 2006 04:24 PM
Cursor movement JeffH Microsoft Excel Misc 1 23rd Feb 2006 09:57 PM
Cursor movement =?Utf-8?B?QW5uIENhbGFudHppcw==?= Microsoft Excel Worksheet Functions 1 25th May 2005 04:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:51 AM.