• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

Cursor Movement when hitting "Enter"

How do I change where the cursor moves when I hit "Enter"?
0
Bright01
Asked:
Bright01
  • 3
  • 3
1 Solution
 
Rory ArchibaldCommented:
In 2003 and prior: Tools-Options-Edit tab.
In 2007: Office button-Excel options-Advanced section, first option.
0
 
siyi23Commented:
I don't which Office version you are using, but I'm going to answer for Excel 2007.

Go to 'Office button' and click 'Excel options' button (right bottom corner). A new window will be opened.
Click on 'Advanced' and you will see a list of checkboxs, and the first one says 'After pushing Enter, move selection'. The you can choose the direction.

Excuse me if the messages aren't exactly real, but I have Spanish version.
0
 
Bright01Author Commented:
Rorya and siys23,
I only want the cursor to move down in one section of the sheet while keeping the cursor "standard" in the rest of the sheet.  Can I control the cursor at the cell level?
Thanks,
B.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Rory ArchibaldCommented:
Only with code, if that's an option. (we'd need to know which ranges)
0
 
Bright01Author Commented:
Is it simple (a few lines) or a major undertaking?  I can plug in the range and then replicate as necessary thoughout the sheet.
If difficult, I'll close out the question with the answers I have.
0
 
Rory ArchibaldCommented:
Not complicated really - you'd need a worksheet activate event and a selection change one - something like the code below.
FYI, down IS the standard.



Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Not Intersect(Target, rnage("A:A")) Is Nothing Then
        Application.MoveAfterReturnDirection = xlDown
    Else
        Application.MoveAfterReturnDirection = xlRight
    End If
End Sub

Open in new window

0
 
Bright01Author Commented:
Thank you!  Very helpful.......
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now