Results 1 to 2 of 2

Thread: how can i exec....

  1. #1
    Zambi
    Guest
    How can i execute certain code if a listbox is full with a certain number of items? Can somebodyplease help me.

  2. #2
    Guest
    Code:
    Private Sub Command1_Click()
    
        If List1.ListCount >= 10 Then
            Msgbox ">=10 in the list"
            'execute code
        End If
    
    End Sub

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