Trying to design a check that makes a user insert an integer between 0 and 90.
So far I can use this:
to force a numeric value between 0 and 90.
The problem with that code is if the user has a value of "0" in the textbox and hit's backspace it triggers "Only numeric entries allowed", so I need to do something like:
But it would seem that isblank is not a native VBA function. I also can't access it if I use worksheetfunction.isblank(). What gives?
The final question is how do I check to make sure an integer is sent in instead of a float (single)? I imagine there should be a function like IsInteger?
Bookmarks