Results 1 to 36 of 36

Thread: [RESOLVED] Project

Hybrid View

  1. #1
    Hyperactive Member
    Join Date
    Oct 2007
    Posts
    258

    Re: Project

    vb Code:
    1. If TextBox1.Text <> String.Empty Then
    2. If Not IsNumeric(TextBox1.Text) Then
    3. MsgBox("Numbers Only")
    4. End If
    5. Else
    6. MsgBox("INPUT SOMETHING")
    7. End IF

  2. #2

    Thread Starter
    Member
    Join Date
    Apr 2009
    Posts
    34

    Re: Project

    If Me.num1.Text <> String.Empty Then

    If Not IsNumeric(Me.num1.Text) Then

    MsgBox("Numbers Only")

    End If

    Else

    MsgBox("INPUT SOMETHING")

    End If

    I tried this and it didnt work (my textbox is named num1)

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