Free Web Site - Free Web Space and Site Hosting - Web Hosting - Internet Store and Ecommerce Solution Provider - High Speed Internet
Search the Web

Get or set current select item number

VB Tips:  ComboBox


 

'Get the current selected item number
'Return value is -1 if no current selected item
'The first number is 0
Debug.Print Combo1.ListIndex

'Set the current selected item number
Combo1.ListIndex =0


Copyright (c) 1999 - 2001, robert han, all rigths are reserved.