Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to move to next cell after input automatically in Excel?

In this article, I introduce the tricks on automatically moving cursor to next cell to input sequence number without pressing Enter key in Excel.

Auto move to next right cell after 4-digit inputting without press Enter key with VBA

Auto fill 4-digit series with Kutools for Excel good idea3


arrow blue right bubble Auto move to next right cell after 4-digit inputting without press Enter key with VBA


Here is a VBA code can help you auto move to next right cell after 4-digit inputting without press the Enter key.

1. Press Alt + F11 keys to open Microsoft Visual Basic for Applications window.

2. Click Insert > Module and paste below VBA code to the Module script. See screenshot:

VBA: Auto move to next right cell after 4-digit number input.

Sub FourCharEntry1()
'UpdatebyExtendoffice20160614
    Dim xStr As String
    Dim I As Integer
    Dim K As Integer
    xStr = Application.InputBox("Enter string", "Kutools for Excel", , , , , , 2)
    K = 0
    Application.ScreenUpdating = False
    For I = 1 To Len(xStr) Step 4
        ActiveCell.Offset(0, K) = "'" & Mid(xStr, I, 4)
        K = K + 1
    Next
    Application.ScreenUpdating = True
End Sub

doc auto move to next cell 1

3. Press F5 key to run the code, and a Kutools for Excel dialog pops out, you can enter the sequence numbers into it without any separator. See screenshot:
doc auto move to next cell 2

4. Click OK. Now every 4 digits have been placed in one cell from left to right.
doc auto move to next cell 3

Tip: If you want to enter 5-digit, 6-digit…into cell, you can change 4 to 5, 6 or others in the code.


arrow blue right bubble Auto fill 4-digit series with Kutools for Excel

With Kutools for Excel – a handy tool, you can auto fill series numbers to a range without press the Enter key by its Insert Sequence Number utility.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, please do as below:

1. Select a column or a row you want to fill series, and click Kutools > Insert > Insert Sequence Number. See screenshot:
doc auto move to next cell 4

2. In the Insert Sequence Number dialog, click New to expand the dialog. See screenshot:
doc auto move to next cell 5

3. Then specify the series as you need. See screenshot:
doc auto move to next cell 6

4. Click Add > Fill Range, then the selected range has been auto filled with the sequence numbers.
doc auto move to next cell 7

Tip: With Insert Sequence Number utility, you also can insert repeated series. Check End number option in the dialog, enter the ending number you want into the right textbox, and then the series numbers will be filled repeatedly every 10 numbers. See screenshot:
doc auto move to next cell 8

doc download 1


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.