Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i need a statement that can evaluate whether or not a text box's value/text
is a number or not? TIA |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Spencer,
You can use the IsNumeric function to test whether a text string is numeric.E.g., If IsNumeric(Me.TextBox1.Text) = True Then ' is a number Else ' not a number End If -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Spencer Hutton" wrote in message ... i need a statement that can evaluate whether or not a text box's value/text is a number or not? TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Number format TextBox? | Excel Discussion (Misc queries) | |||
Assigning Row Number to TextBox | Excel Discussion (Misc queries) | |||
Getting a number from a textbox to use in a vb formula | Excel Programming | |||
Textbox number formatting | Excel Programming | |||
textbox.value doesn't create a number? | Excel Programming |