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


(e-mail address removed) (John Dempsey), said:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top