Solved

Cursor Movement when hitting "Enter"

Posted on 2010-08-19
7
269 Views
Last Modified: 2012-05-10
How do I change where the cursor moves when I hit "Enter"?
0
Comment
Question by:Bright01
  • 3
  • 3
7 Comments
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 33474279
In 2003 and prior: Tools-Options-Edit tab.
In 2007: Office button-Excel options-Advanced section, first option.
0
 

Expert Comment

by:siyi23
ID: 33474304
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
 

Author Comment

by:Bright01
ID: 33476243
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 85

Expert Comment

by:Rory Archibald
ID: 33476559
Only with code, if that's an option. (we'd need to know which ranges)
0
 

Author Comment

by:Bright01
ID: 33476726
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
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 250 total points
ID: 33476840
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
 

Author Closing Comment

by:Bright01
ID: 33477423
Thank you!  Very helpful.......
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now