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 quickly jump to the cell with current date in Excel?

Here is a sheet with a list of dates, you want to quickly jump to the cell which is with current date, how to solve this problem?

Jump to the current date with VBA

Jump to the current date with Find and Replace


arrow blue right bubble Jump to the current date with VBA


Here is a VBA code that can help you quickly jump to the cell with current date.

1. Enable the workbook you want to use, and press Alt + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, paste below code to the Module.

VBA: Jump to current date

Private Sub Workbook_Open()
'UpdatebyExtendoffice20161221
    Dim daterng As Range
    Dim DateCell As Range
    Dim WorkSht As Worksheet
    Dim dateStr As String
    Application.ScreenUpdating = False
    For Each WorkSht In Worksheets
        WorkSht.Select
        'Set daterng = Range("A:A")
        Set daterng = WorkSht.UsedRange
        'daterng.Select
        For Each DateCell In daterng
            DateCell.Activate
            ActiveCell.Select
            On Error Resume Next
            dateStr = DateCell.Value
            If dateStr = Date Then
                DateCell.Select
                Exit Sub
            End If
        Next
    Next WorkSht
    Application.ScreenUpdating = True
    'Worksheets(1).Select
End Sub

doc jump to current date 1

3. Press F5 key, then the cursor jumps to the cell with current date wherever you locate in the workbook.
doc jump to current date 2


arrow blue right bubble Jump to the current date with Find and Replace

If you are not familiar with VBA code, you also can apply the Find and Replace utility to jump to the current date.

1. Enable the sheet which contains the date list, and select a blank cell, type this formula =TODAY(), press Enter key, now you get the today date.
doc jump to current date 3

2. Press Ctrl + C to copy the today date, and go to select the list of dates, and then press Ctrl + F to enable the Find and Replace dialog, in the Find what textbox, press Ctrl + V to the paste the today date into. See screenshot:
doc jump to current date 4

3. Click Find All. Now the cursor jumps to the cell with today in the selected list.
doc jump to current date 5

Tip: If you have Kutools for Excel, you can apply its Select Specific Cells to quickly handle this task.It’s full function without limitation in 60 days, please download and have a free trial now.
doc jump to current date 6



Recommended Productivity Tools for Excel

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: 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!
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.
  • To post as a guest, your comment is unpublished.
    Peter · 7 months ago
    This doesn't work with the VBA code, it just brings up a window called "Go To". Were we meant to edit the VBA code in some way?