[Solved] How disable a button if there is no text in multiple textboxes in VB?

Change all of your “And” in your if statement to “Or” Private Sub BtnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnStart.Click If TxtBox1.Text = “” Or TxtBox2.Text = “” Or TxtBox3.Text = “” Or TxtBox4.Text = “” Or TxtBox5.Text = “” Or TxtBox6.Text = “” Or TxtBox7.Text = “” Or TxtBox8.Text = “” … Read more