Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

checkin if listboxes are filled, or not 1

Status
Not open for further replies.

Askeladden

Programmer
Jan 28, 2004
87
0
0
NO
Is there anyway to check if listboxes are filed or not, within the code. If there are how would you code it?
Thanks ahead of time. :)

"Live long and prosper
 
Look at the .ListCount property of the ListBox object.

If List1.ListCount > 0 Then
'run code
Else
'other code
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top