Results 1 to 7 of 7

Thread: For or Do statement for Listboxes [Resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2001
    Posts
    244

    For or Do statement for Listboxes [Resolved]

    I have a listbox (currently project is in VB.NET but could do in VB6. The listbox contains a list of items. What would the syntax be for a For or Do statement that would perform an action for each item that is checked\highlighted?

    IE. 6 names in a listbox, 3 are highlighted. What would the statement look like if I wanted a msgbox to pop-up for each of their names?

    I cannot figure out the syntax.

    Thanks,

    Jim
    Last edited by jlegan; Apr 21st, 2003 at 08:34 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width