I have a worksheet with a list of dates down column A that are automatically calculated. As this list is fairly long I need to find a way to open the work sheet and show the cell with todays date in.
I have the below macro that will find the date but only if i type the the dates in manually - it doesn't work on the formulas.
Private Sub Workbook_Open()
Range("A1").Select
Dim xrange As Range
Set xrange = Cells.Find(Date)
If xrange Is Nothing Then
MsgBox "Did not find any cell with today's date"
Else
xrange.Select
End If
End Sub
Any help would be great.
I have the below macro that will find the date but only if i type the the dates in manually - it doesn't work on the formulas.
Private Sub Workbook_Open()
Range("A1").Select
Dim xrange As Range
Set xrange = Cells.Find(Date)
If xrange Is Nothing Then
MsgBox "Did not find any cell with today's date"
Else
xrange.Select
End If
End Sub
Any help would be great.