Oct 9, 2003 #1 vmon IS-IT--Management Feb 14, 2002 74 US I want to search a combo box list of values for a specific value. Something like: For I = 1 to X cboMarkId(I) = "YOU FOUND IT". Next I I can't find the right syntax to get this done. Thanks, vmon
I want to search a combo box list of values for a specific value. Something like: For I = 1 to X cboMarkId(I) = "YOU FOUND IT". Next I I can't find the right syntax to get this done. Thanks, vmon
Oct 9, 2003 #2 CajunCenturion Programmer Mar 4, 2002 11,381 US Have you tried For Idx = 0 to cboCombo.ListCount - 1 If (cboCombo.ItemData(Idx) = "SearchValue" Then MsgBox "You Found It" End If Next Idx Good Luck -------------- As a circle of light increases so does the circumference of darkness around it. - Albert Einstein Upvote 0 Downvote
Have you tried For Idx = 0 to cboCombo.ListCount - 1 If (cboCombo.ItemData(Idx) = "SearchValue" Then MsgBox "You Found It" End If Next Idx Good Luck -------------- As a circle of light increases so does the circumference of darkness around it. - Albert Einstein