Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am currently running this code to prevent users from leaving a
TextBox (txtPO) empty: If Trim(Me.txtPO.Value) = "" Then Me.txtPO.SetFocus MsgBox "Please enter a Purchase Order Number." Exit Sub End If I would like this to only apply if "A," "B," or "C" are entered into cboDealer which is on the same user form. Otherwise I want the user to be able to leave this TextBox Empty. Can anybody provide me the appropriate code? Thanks in advance for all of your help! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sum of rows with exception of row x, y, z... | Excel Discussion (Misc queries) | |||
Exception list | Excel Discussion (Misc queries) | |||
Sum Based on Exception | New Users to Excel | |||
Sum Based on Exception | Excel Discussion (Misc queries) | |||
Add an exception rule | Excel Programming |