LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default Items in a Listbox

Hey guys

I have a Listbox named Listbox1 on sheet "Wkly Renewals".
I have the liststyle property set to Option and the
multiselect property set to Multi so multiple items can be
selected at once. The listbox contains 6 values. Below
are the values listed in order in which they are listed in
the listbox:

Jan Week1
Jan Week2
Jan Week3
Jan Week4
Jan Week5
Jan MTD

I have not worked with listboxes very much and do not know
how to programmatically select an item or items. How
would I do the following with code?

1) Select Jan Week2 as well Jan MTD?

2) For each item selected in the listbox, display a msgbox
of the item

3) For every item in the listbox(regardless if its
selected or not), display a msgbox of the item

Thank you
Todd Huttenstine
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fill a ListBox with items using VBA [email protected] Excel Programming 1 April 21st 04 09:59 PM
Listbox--moving items up or down libby Excel Programming 0 November 7th 03 06:53 PM
listing items from listbox Gerry[_5_] Excel Programming 2 October 18th 03 02:45 AM
Counting items in a listbox Thurman Excel Programming 0 September 5th 03 06:36 AM
Checking Listbox Items Tim[_15_] Excel Programming 1 July 20th 03 05:27 PM


All times are GMT +1. The time now is 01:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"