Would appreciate it if someone can provide me with some help.
I have the following VBA code below that does the following
- looks through the specified range in an Excel worksheet
- when it finds a cell that matches today's date, it selects that cell
The problem is, this piece of code is looking through 1500 rows to find the cell with today's date, which takes some time. Any thoughts on how I can speed this up? Here's my code:
Dim DateRng As Range, DateCell As Range
Set DateRng = Range("1:1500")
For Each DateCell In DateRng
If DateCell.Value = Date Then DateCell.Select
Next
Thanks in advance!
Cheers