Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop down menu and text box

Status
Not open for further replies.

SHAWTY721

Programmer
Aug 16, 2007
116
US
Hi does anyone know how to make the display of a text box dependent on a selection made in a drop down menu.
 
try using an if else structure in the change event of your combobox. This should be basic VBA.
 
How are ya SHAWTY721 . . .

Code:
[blue]   If Me!ComboboxName = "AceMan1" Then
      Me!TextboxName.Visible = True
   Else
      Me!TextboxName.Visible = False
   End If[/blue]


Calvin.gif
See Ya! . . . . . .

Be sure to see FAQ219-2884:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top