Ok, I used this code to stop letters from being entered into a txtBox, could someone help me to change this so that Nums cannot be entered.....

VB Code:
  1. Private Sub txtExponent_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) _
  2.         Handles txtExponent.KeyPress, txtInput.KeyPress
  3.         If e.KeyChar Like "[!a-zA-Z]" AndAlso Not e.KeyChar = ControlChars.Back Then
  4.             e.Handled = True
  5.         End If
  6.     End Sub
  7. End Class