View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
DJS DJS is offline
external usenet poster
 
Posts: 31
Default Comparing Text to Numeric Vals

hello~

I am looking for the proper method to compare non-numeric (text) vals to
numeric vals.
Is there a way to modify the script so that if cell.Value was a text val it
could be
interpreted as a numeric val?
Something like: Number(cell.Value) in my script:

If cell.Offset(0, -1) < cell.Value And Not _