Note: The other languages of the website are Google-translated. Back to English

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()
    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
    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
handy functions, makes your jobs more easier. 

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

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office / Excel 2007-2021 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (1)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, how do I auto drop to the next cell without using 'enter' after a 1 digit number (not in sequence)? I'm working in a university and I'm handling 10,000 students for their entries. Hope you could help me with this :) Thanks!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations

Follow Us

Copyright © 2009 - | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL