Pookiemeister
Well-known Member
- Joined
- Jan 6, 2012
- Messages
- 563
- Office Version
- 365
- 2010
- Platform
- Windows
VBA Code:
Sub InptBx1()
answ = InputBox("How many times does this lot split?", "Split Lot")
If vbCancel = 2 Then Exit Sub
If answ = "" Or answ < 2 Or Not IsNumeric(answ) Then
Do
MsgBox "Answer must be a number and the number must be greater than 1.", vbCritical, "Invalid Entry"
Call InptBx1
Loop Until answ <> "" And answ > 1
frmPackageYield.Show vbModeless
End If
End Sub
Code:
If answ = "" Or answ < 2 Or Not IsNumeric(answ) Then
Why?? Before I continue adding more code to this(mainly error trapping). I need to first fix this issue. I really hope my explanation makes sense.
Thank You.