How do I select multiple items in a listbox?

S

stephenc

I have a file browsing userform with a listbox containging filenames. The
listbox MultiSelect property is 2 (extended) but I can use 1 if necessary.

I want to add a button for "invert selection". To do this I need to be able
to select or deselect each item in the listbox.

I'm using Word 2003 in Windows XP.

Any advice would be very welcome.
 
W

Word Heretic

G'day stephenc <nospam>,

Iterate frmMyForm.ListBox1.Selected(n)
and invert each

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


stephenc reckoned:
 

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