what do i have to do if i have to display results in a list box. the input is entered in a text box and each result has to be displayed in the listbox. please help.....
becky
Printable View
what do i have to do if i have to display results in a list box. the input is entered in a text box and each result has to be displayed in the listbox. please help.....
becky
? not quite sure what you want, but this may help:
Is that what you needed?Code:'When clicking the Command Button the Text1.Text will be transfered to the listbox
Private Sub Command1_Click()
List1.AddItem Text1.Text
'Optional clear the textbox: Text1.Text = ""
End Sub