value of a text bow

bigmac

Registered User.
Local time
Today, 15:30
Joined
Oct 5, 2008
Messages
302
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
 
Code:
sub txtBox1_Afterupdate()
txtBox2.enabled = instr(txtBox1,"en")>0
end sub
 

Users who are viewing this thread

Back
Top Bottom