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!

Search for spaces in a text box

Status
Not open for further replies.

Pyramus

Programmer
Dec 19, 2001
237
0
0
GB
How do I check whether text entered in a text box has spaces in it? TIA.
 
If instr(1, txtMyTextBox.Text, &quot; &quot;) <> 0 Then
'I have some spaces
End If

Cheers,
Grant.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top