Wednesday 10 September 2014

Loop through a List box

 
 To loop through a listbox try this
 
 Dim mcount As Integer
        mcount = ListBox3.Items.Count
        Do Until mcount = 0
            ListBox3.SelectedIndex = mcount - 1
            your variable  = ListBox3.SelectedItem
 
            mcount = mcount - 1
        Loop

No comments:

Post a Comment

Passwords Made Easy

Today i thought i would write about password security. As we are all aware passwords are important but we continue to use very poor password...