Hello,
I am getting NullReferenceException error in the Controls("ComboBox" & m).Text = "No" and probably i didn't define ComboBox and i don't know how to do it. Can you please help?
Code:Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim m As Integer For m = 35 To 77 Controls("ComboBox" & m).Text = "No" Next m End Sub




Reply With Quote
