Try,
If IsNumeric(Cells(x, 2).Value) = True Then Go To
Regards,
Barrie
Barrie Davidson
Have you tried
If Not IsNumeric(Worksheets("Name").cells([row],[col]).Value) Then
?
Phil
Tried that. I couldn't get it to work.
It wants an end of statement after the True
Re: Tried that. I couldn't get it to work.
Sorry, I assumed you would know the entire syntax (I know, I know...."you know what happens when you assume"!). Try this
If IsNumeric(Cells(x, 2).Value) = False Then Go To 'insert location here
End If
I also changed the IF statement from TRUE to FALSE, since you wanted the GO TO statement used if the value was not numeric (I reversed the direction you wanted).
Hope this helps you out.
Barrie
Barrie Davidson
I appreciate your help, But here is how I did it.
The rest of the thing wasn't the problem, For somereason I would type in what you agave me but it expected a then instead of the true or something. Anyway I didin't spend that mutch time on it.
Here's the code that I did use.
If Not Cells(x,3).Numberformat = "0" then Goto etc...
Thanks for your time.