List box - setting default selection

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is probably very simple.

I have a list box (using control toolbox) in a work sheet and I want to
specify that every time the workbook is opened that the first item on the
list box is always selected

Thanks

Brian
 
Activesheet.Listbox1.ListIndex = 0

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Thanks bob, I new it would be simple - have to remember that Activesheet part
next time
 

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