Situation:
You want to get a user input and you want to know if the entered data is a number or not
Solution:
Make a subroutine with “GetInput” name (you can use any name you desire) and inside it use the InputBox function of the Excel VBA programming language. A variable (vInput) should get the entered value and use the function IsNumeric to check if the value is a number or not. The input box looks like this:
Posted by
Catholic Prayers
on
Tuesday, July 31, 2007
0 comments