ListBox Multiple Column. Select Default.

  • Thread starter Thread starter John Dempsey
  • Start date Start date
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
 
Set the ListIndex property to >= 0 (0 being the first item).
 

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

Back
Top