ListBox Default Select

J

John Dempsey

Have a slight issue and I cant seem to find anywhere. I have a listbox
with multiple columns when the listbox is shown I want to highlight the
first item so that it cannot be processed without something being
processed.

How do I in VBA tell it what to highlight as the Default Selected Item
on the Listbox?

Thanks in advance

JD_UK
 
P

Peter Hewett

Hi John Dempsey

To set the currently selected item use the ListBoxes ListIndex property, the
first entry is zero.

HTH + Cheers - Peter


[email protected] (John Dempsey), said:
 
Top