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?
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
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
3. Press F5 key, then the cursor jumps to the cell with current date wherever you locate in the workbook.
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.
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:
3. Click Find All. Now the cursor jumps to the cell with today in the selected list.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 1 months agoSame results as Peter ... F5 brings up GoTo. We also tried Ctrl-F5 and Alt-F5. Is there some other key sequence or addition to the code? Thanks.
To post as a guest, your comment is unpublished.· 1 years agoThis 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?