M
Mike H.
I have a variable assigned to Variant type and I have this statement before
The variable is assigned:
On Error Goto XXXX
THe variable gets its value as follows:
Res = Application.VLookup(Cells(X, 1) & Cells(X, 41), LookupRng, 3,
False)
The result is error 42, but the application does not goto XXXX but instead I
get an error 42, runtime error 13, type mismatch. I am not sure what to do I
can't seem to get the program to just skip over the assignment. Suggestions?
The variable is assigned:
On Error Goto XXXX
THe variable gets its value as follows:
Res = Application.VLookup(Cells(X, 1) & Cells(X, 41), LookupRng, 3,
False)
The result is error 42, but the application does not goto XXXX but instead I
get an error 42, runtime error 13, type mismatch. I am not sure what to do I
can't seem to get the program to just skip over the assignment. Suggestions?