Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to test the cells A2 to C2 to see if any cells do not contain
numerical values. Can someone help me with below code? I'm getting an error saying "sub or function not defined." I am running it from an add-in and may need it to set "sheet1" as the target spreadsheet, but didn't know syntax. For Each cell In Me.Range("A2:C2") Select Case IsNumeric(cell.Value) Case True MsgBox "a1 numeric" Case False MsgBox "a1 non numeric" Case Else MsgBox "Don't know" End Select Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IsNumeric with array or range | New Users to Excel | |||
Calculate mean of test scores from rows of test answers | Excel Discussion (Misc queries) | |||
opposite of IsNumeric | Excel Discussion (Misc queries) | |||
Not IsNumeric not working - or is it me? | Excel Programming | |||
check Isnumeric, doesnot work well | Excel Programming |