RE: Required Field for 7 Numeric digits only
- From: JLGWhiz <JLGWhiz@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 30 Mar 2008 09:46:00 -0700
This should cover it all, needed to make the loop so they have to respond.
RETRY:
UserInput = Application.InputBox("Enter an seven numeric digits", _
"NUMERIC ONLY", Type:=1)
If UserInput = "" Or UserInput = False Or Len(UserInput) <> 7 Then
MsgBox "You must enter numbers only."
GoTo RETRY:
End If
"LRay67" wrote:
I have a required field that can contain only 7 numeric digits within the.
textbox. Also want to put in a message box to alert them that this field
must have 7 numeric digits. Any suggestions on how to write the code behind
this? Thanks
Linda
- Follow-Ups:
- RE: Required Field for 7 Numeric digits only
- From: LRay67
- RE: Required Field for 7 Numeric digits only
- References:
- Required Field for 7 Numeric digits only
- From: LRay67
- Required Field for 7 Numeric digits only
- Prev by Date: Re: Pass between modules
- Next by Date: Re: Pass between modules
- Previous by thread: RE: Required Field for 7 Numeric digits only
- Next by thread: RE: Required Field for 7 Numeric digits only
- Index(es):
Relevant Pages
|
Loading