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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remove slected item from combo box

Status
Not open for further replies.

GOOGE

Technical User
Jun 20, 2001
36
NZ
hi

plz help a newbie,how do i remove the slected item from a combo box?

many many thanks

james cuttance
 
Hi,

Type

<font color=red>Combo1.RemoveItem Combo1.ListIndex</font>

You may want to check if an item has been selected before you do that

<font color=red>if Combo1.ListIndex then Exit Sub</font>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top