Results 1 to 2 of 2

Thread: [RESOLVED] textbox space

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Resolved [RESOLVED] textbox space

    I have textbox. How to pop up messagebox if the textbox contains empty space between text?for example "A A" or "A A A A A"

  2. #2
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    Re: textbox space

    Code:
    If Instr(Text1.Text, " ") > 0 Then
      MsgBox "The textbox contains spaces!"
    End If

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