Question : select item in listbox via VBA in form onload event

I have a list box and I want a row selected on the when the form is opened.
The first column shows the same value in each row while the values in the second column are differerent.

Answer : select item in listbox via VBA in form onload event

this will select the first item in the listbox
me.ListboxName.value=me.listboxname.itemdata(0)  
Random Solutions  
 
programming4us programming4us