value of a text bow (1 Viewer)

bigmac

Registered User.
Local time
Today, 02:09
Joined
Oct 5, 2008
Messages
295
can you help please , i have a textbox and i want to be able to set it so it will change another textbox property the first textbox can contain set words one of these is "en xxxxxx" would like to change the ENABLED property of textbox 2 if the first text box contains the "en" part of the text, with vba
cheers
 

Ranman256

Well-known member
Local time
Today, 05:09
Joined
Apr 9, 2015
Messages
4,339
Code:
sub txtBox1_Afterupdate()
txtBox2.enabled = instr(txtBox1,"en")>0
end sub
 

Users who are viewing this thread

Top Bottom