I feel kind of silly asking about an if statement but I am having an issue.

I created a goto line form in my application and it works, I am just trying to set some perimeters so it prompts a messagebox stating that the line number they entered doesn't exist. Basically if the number is lower than 1 or higher then the line count. Here is the code, when I have if statements nested like that the error will only work for whichever is first(this case it is the less than 1). I need it to work for both.

vb Code:
  1. Dim page As RadPageViewPage = AutoGamerMain.RadPageView1.SelectedPage
  2.         For Each txt As FastColoredTextBox In page.Controls.OfType(Of FastColoredTextBox)()
  3.             If LineNumberTxt.Text <= txt.LinesCount Then
  4.                 If LineNumberTxt.Text >= 1 Then
  5.                     txt.Focus()
  6.                     txt.Selection.Start = New Place(0, LineNumberTxt.Text - 1)
  7.                     txt.DoSelectionVisible()
  8.                     txt.Invalidate()
  9.                 Else
  10.                     MessageBox.Show("You have entered a line which does not exist. Perimeters are (1-" & txt.LinesCount & "). Please choose a new line.")
  11.                 End If
  12.             End If
  13.             Next