Try:
Sub Date_Intersection()
Dim ws As Worksheet: Set ws = Sheets("Sheet1")
Dim myInput As Variant
Dim myDate As String
Dim iCol As Range, iRow As Range
Dim lastrow As Long, lastcol As Long
lastrow = ws.Range("A" & Rows.Count).End(xlUp).Row
lastcol = ws.Cells(1, Columns.Count).End(xlToLeft).Column
myInput = Application.InputBox("Please enter the date.")
If myInput = "" Then Exit Sub
If myInput = False Then Exit Sub
If IsDate(myInput) Then
myDate = Format(DateValue(myInput), "d-mmm")
Else
MsgBox "Please enter a valid date."
Exit Sub
End If
Set iCol = ws.Range(Cells(1, 1), Cells(1, lastcol)).Find(What:=myDate, LookIn:=xlValues, LookAt:=xlWhole)
If iCol Is Nothing Then
MsgBox ("The date " & myDate & " could not be found.")
Exit Sub
End If
Set iRow = ws.Range("A1:A" & lastrow).Find(What:=myDate, LookIn:=xlValues, LookAt:=xlWhole)
If iRow Is Nothing Then
MsgBox ("The date " & myDate & " could not be found.")
Exit Sub
End If
ws.Cells(iRow.Row, iCol.Column).Select 'this is where you asked to select it
End Sub
Bookmarks