Cursor automatically jumping / moving to next cell

christianntem

New Member
Joined
May 24, 2016
Messages
2
Hello I need help trying to figure out to make excel 2013 cursor move automatically to next cell
Example. I type in the letter (A) in cell A1 and cursor would automatically move to B1
Thank you
 
Hi and welcome to the MrExcel Message Board.

Look in the Excel options.

Go to File-->Options-->Advanced.
At the top, under Editing Options, you will see a dropdown with all the options available. Select "Right".

Regards,
 
Upvote 0
Hi and welcome to the MrExcel Message Board.

Look in the Excel options.

Go to File-->Options-->Advanced.
At the top, under Editing Options, you will see a dropdown with all the options available. Select "Right".

Regards,


Thank you very much for the reply. I really appreciate it.
I forgot to mention that, I want the cursor to move without pressing ENTER or TAB key. Just move automatically to next cell after I type a single letter
 
Upvote 0
You may live to regret this but it is possible. :)

You will need to use some VBA. The code below needs to be pasted in to the code module for the sheet you want to use it in. E.g. Sheet1, Sheet2 etc.
Code:
Private Sub TextBox1_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
    Dim r As Range
    With TextBox1
        .TopLeftCell.Value = .Text
        .Text = vbNullString
        Set r = .TopLeftCell.Offset(, 1)
        .Top = r.Top
        .Left = r.Left
        .Width = r.Width
        .Height = r.Height
    End With

End Sub

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    With TextBox1
        .Top = Target.Top
        .Left = Target.Left
        .Width = Target.Width
        .Height = Target.Height
        .Activate
    End With
End Sub
Whenever a cell is selected it places a TextBox in it that is the same size as the cell. Straight after your key press the character is copied top the cell, the TextBox is cleared and moves to the next cell across.

You will also need to go into the Developer Tab and insert an ActiveX TextBox into the worksheet, somewhere.
If you then select another cell with the mouse it should start working.

Regards,
 
Upvote 0

Forum statistics

Threads
1,226,860
Messages
6,193,398
Members
453,794
Latest member
slilesy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top