I am a little bit lost here, the code was working fine, I don´t remember changing anything, and suddenly now is giving error.
Already spend a few hours around this matter and I still don´t understand why is giving this error.
Run-time error '91':
Object variable or With...
Dim foundRng As Range
Set foundRng = Range("g2:g9").Find(Sheets("schedule").Range("b2").Value)
If Not foundRng Is Nothing Then
MsgBox "Found at " & foundRng.Address
I am having trouble while comparing a time...