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

ListBox Control

Status
Not open for further replies.

sogibear

Programmer
Jul 4, 2002
45
GB
Hi,

Obviously when you click on a listbox, the value chosen is highlighted, but is it possible to do this via vba without the need to click with the mouse ?

Thanks
 
is this what you are after...

To select the 4th item on a listbox called myListBox then:

Me.myListBox.Selected(3) = True

Cheers,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top