Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Highight cell with non numeric data
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. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Highight cell with non numeric data
figured it out
If Not IsNumeric |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Highight cell with non numeric data
Sorry This should have read
If Not(IsNumeric((Cells(Row, 11).Value))) Then Cells(Row, 11).Interior.ColorIndex = 4 End If as you are testing for non-numeric values. 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
TO DELETE ONLY NUMERIC VALUES IN A CHARACTER AND NUMERIC CELL IN | Excel Discussion (Misc queries) | |||
I'm new when i input numeric data into cell & enter, goes #### and | Excel Discussion (Misc queries) | |||
How do I copy numeric section of cell from alpha-numeric cell | Excel Worksheet Functions | |||
How to format cell into Thousands based for numeric data??? | Excel Discussion (Misc queries) | |||
only extract numeric value from alpha numeric cell | Excel Discussion (Misc queries) |