Okay I did what Jewel said but it didin't work...


VB Code:
  1. Private Sub Continue_Click()
  2.     If IsNumeric(Answer.Text) = True Then 'check for correct data type'
  3.         MsgBox "You've answered in the wrong data type, please enter in alphabet letters", 1 + 48, "Error" 'message box shown if the user enters their answer in numbers'
  4.     Else
  5.         If Answer.Text = "" Then
  6.             MsgBox "You havn't answered yet!", 1 + 48, "Come on..."
  7.         Else
  8.             If (Answer.Text = "bread") Then 'If correct answer then'
  9.                 Users_score = Users_score + 1 'add one to the score'
  10.             End If
  11.         End If
  12.     End If
  13.         Unload Q2 'closes Question 1 form'
  14.         Ans_2.Show 'loads Answer and comment form for question 1'
  15. End Sub



The first code I sent you works fine for me maybe we can revised your code to this:

VB Code:
  1. Private Sub Continue_Click()
  2.    
  3. '------------------------------
  4. '    validate first input
  5.     If Answer.Text = "" Then
  6.         MsgBox "You havn't answered yet!", 1 + 48, "Come on..."
  7.         Answer.SetFocus
  8.         Exit Sub
  9.     End If
  10.     If IsNumeric(Answer.Text) = True Then 'check for correct data type'
  11.         MsgBox "You've answered in the wrong data type, please enter in alphabet letters", 1 + 48, "Error" 'message box shown if the user enters their answer in numbers'
  12.         Answer.SetFocus
  13.         Exit Sub
  14.     End If
  15.     '---------------------------------------------
  16.     If (Answer.Text = "bread") Then 'If correct answer then'
  17.         Users_score = Users_score + 1 'add one to the score'
  18.     End If
  19.    
  20.     Unload Q2 'closes Question 1 form'
  21.     Ans_2.Show 'loads Answer and comment form for question 1'
  22. End Sub

or you can make a function returning true if the input is valid like Jackalx25 did

VB Code:
  1. Private Sub Continue_Click()
  2.    If IsValid(Answer.Text) = True Then
  3.         If (Answer.Text = "bread") Then 'If correct answer then'
  4.             Users_score = Users_score + 1 'add one to the score'
  5.         End If
  6.     Else
  7.         MsgBox "Invalid Answer!!"
  8.         Answer.SetFocus
  9.     End If
  10.     Unload Q2 'closes Question 1 form'
  11.     Ans_2.Show 'loads Answer and comment form for question 1'
  12. End Sub
  13.  
  14. Private Function IsValid(str As String) As Boolean
  15.     IsValid = True
  16.     If Answer.Text = "" Or IsNumeric(Answer.Text) = True Then
  17.         IsValid = False
  18.     End If
  19. End Function