Hi,
I have an textbox on an excel form that requires the user to input a number. Is there a statement that I can use in my VBA to check if the value is a number or text prior to applying it to a formula.
Soma104
Hi,
I have an textbox on an excel form that requires the user to input a number. Is there a statement that I can use in my VBA to check if the value is a number or text prior to applying it to a formula.
Soma104
Last edited by soma104; 03-23-2010 at 01:25 PM.
The IsNumeric function should do the trick
![]()
Please Login or Register to view this content.
Thank you, that's exactly what I needed.
Soma104
How about not allowing any input in your Textbox, other than numbers?
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks