Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Sun, 4 Dec 2011 11:50:33 -0800 (PST), SS wrote:
On Dec 4, 12:58*pm, Ron Rosenfeld wrote: frmLotNumber Like "[RMS0-9]#####" will return TRUE or FALSE and you can incorporate this into your code to branch to whatever. So something like: Do Until frmLotNumber Like "[RMS0-9]#####" * * * * msgbox("Invalid Entry") * * * * 'Redisplay text box loop- Hide quoted text - - Show quoted text - Thanks Gentlemen!! I used this, and it works Beautifully!! Do Until frmLotNumber.txtStartLotNumber Like "[RrMmSs0-9]#####" MsgBox ("Invalid Entry") txtStartLotNumber.SetFocus Exit Sub Loop Glad to help. Thanks for the feedback. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Textbox Clear last entry | Excel Programming | |||
column of entry for textbox value | Excel Programming | |||
Validate textbox entry | Excel Programming | |||
Validate Textbox entry | Excel Programming | |||
Validating Entry into Textbox | Excel Programming |