for some reason a code of mine keeps breaking as 'Error 13 - Type Mismatch' on the following line (where for the record '#N/A' occurs):
For x = FirstDataRow To LastRow
For y = Crrncy_Rng.Column + 2 To LastColumn
Select Case .Cells(x, y)
Case IsError(.Cells(x, y)) = True
GoTo err_handler
Case Is = "CHECK"
.Cells(x, LastColumn + 1) = "CHECK"
GoTo 20
Case Else
End Select
19 Next y
20 Next x
err_handler:
GoTo 19 '19 is a line where next j is specified
end sub
I was under the impression that including the Error as potential Case would enable me to move next. Is there any other way round it?
Thanks!