inactive text box

bhelmy

Registered User.
Local time
Today, 13:02
Joined
Dec 6, 2015
Messages
62
need to put code in Text box 2 ( text2 ) when text box 1 = Cash make it inactive
 

Attachments

Private Sub Text1_BeforeUpdate(Cancel As Integer)
Me.Text2.Enabled = (Me.Text1 & "" <> "cash")
End Sub
 
i wan use If condition
 
i wan use If condition

Because you want to something different than arnelgp's code does or just because you don't like arnelgp's style?

If you want to do something different then what?
 

Users who are viewing this thread

Back
Top Bottom