Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15229

Vb6: search for more than one word in textbox

$
0
0
I have this text inside textbox:

David a
Marry b
John c

i want to display msgbox if all letters: a + b + c are detected inside textbox, i tried this code but it failed

If InStr(Text1, "a", "b", "c") Then
MsgBox "Found"
End If

please help

Viewing all articles
Browse latest Browse all 15229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>