Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
InputBox
Hi, All
I have a macro which starts with InputBox. My Macro will only run correctly without an error if and only if the user has typed the right number of letters or numbers into the inputbox. PROBLEM IS........ even though I put Note on the inputbox saying "Check your digits, if it is more than 10digits it will make an error" they still manage to screw things up. sigh.. How do I lock the inputbox in such way that unless input is 'n' number of digits exactly, it wouldn't even run the macro. Do i use 'if' ? orksheets("RU").Range("A1") = Application.InputBox("Type Cost Centre Number, i.e. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Inputbox | Excel Programming | |||
Need InputBox Help | Excel Programming | |||
inputbox help | Excel Programming | |||
Inputbox and Application.InputBox | Excel Programming | |||
inputbox | Excel Programming |