I'm currently the trying to now if a value exist or not in the "B:B" range. for this i've using the following code:
code=range("B:B").find("the value I look for")
This is supposed to give me the answer "Nothing" if the value is not found, but instead it gives me the error 91 "error 91 object variable or with block not set".
this was my idea when I started:
if code = Nothing then msgbox "the value does not exist" exit sub else end if
I would really apreciate your help!