LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel2007 Stipulate where cursor goes when Enter Key pressed

I would prefer event code so's I didn't have to click a button

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column < 1 Then
With Target
.Offset(1, -1).Select
End With
End If
End Sub

Goes into the sheet module.

Requires that something has been entered in the activecell then ENTER key
hit.


Gord

On Mon, 9 Mar 2009 14:24:07 -0700, RonG
wrote:

Thanks Gord, you've confirmed my thoughts. A macro with a button on the
spreadsheet should do the trick. Thanks buddy.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hit Enter - cursor to beginning of next row? Baldrick Excel Discussion (Misc queries) 5 May 1st 23 07:44 PM
How do I select the column cursor jumps to when I hit end enter? Rachel Excel Worksheet Functions 1 August 12th 08 04:33 PM
Moving between cells when enter is pressed woalmoore Excel Discussion (Misc queries) 3 July 18th 08 04:24 PM
Enter button jumps to next cell each time its pressed!!!! evasmagacz Excel Discussion (Misc queries) 3 June 17th 07 08:37 PM
Cursor not to move when hitting the enter key Alex Martinez Excel Worksheet Functions 1 May 12th 05 05:40 AM


All times are GMT +1. The time now is 12:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"