I'm having problems getting the below code to work properly, I can't seem to get the msgbox to only show when the value is not found. It show every time I run the code.
VBA Code:
Sub FindEvent()
Dim Evnt As String, Found As Range
Evnt = Range("B2").Value
If Found Is Nothing Then
MsgBox "Event does not have a cheat sheet in the workbook", vbExclamation, "Not Found"
Else
With ActiveSheet
.Range("B" & .Range("SearchRng").Find(Evnt).Row).Select
End With
With Range("B2:C2")
.ClearContents
End With
End If
End Sub