Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
verifing entry is numeric
is there a quick way (in VBA) to assure that the user has entered (into a
predetermined rangeon a worksheet) a numeric. i can easily setup a formula to montor changes in the range, but don't know how to check if the entry is numeric, and, if it is not, reject it ... |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
verifing entry is numeric
if isnumeric(activesheet.range("a1").value)) then
Will be true for empty cells, '1234 (numbers as text). if application.isnumber(activesheet.range("a1").value )) then Is the worksheet function--which is more stringent. mark kubicki wrote: is there a quick way (in VBA) to assure that the user has entered (into a predetermined rangeon a worksheet) a numeric. i can easily setup a formula to montor changes in the range, but don't know how to check if the entry is numeric, and, if it is not, reject it ... -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Numeric Data Entry problem | Excel Discussion (Misc queries) | |||
Numeric entry | Excel Worksheet Functions | |||
Require alpha-numeric entry | Excel Worksheet Functions | |||
How Come Calcs are wrong when verifing totals to items method | Excel Worksheet Functions | |||
resolving a numeric cell entry for its meaning | Excel Worksheet Functions |