View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Paul Wilson Paul Wilson is offline
external usenet poster
 
Posts: 12
Default Highight cell with non numeric data

Billy,

Remove the ! mark, then it should work.


If IsNumeric((Cells(Row, 11).Value)) Then
Cells(Row, 11).Interior.ColorIndex = 4
End If

Paul


"Billy" wrote in message
...

I'm getting this error

compile error : invalid or unqualified reference



If !IsNumeric((Cells(Row, 11).Value)) Then
Cells(Row, 11).Interior.ColorIndex = 4
End If


I just want to validate that the data in the cell is numeric.