Merhabalar;
6 adet textbox'ım var. Bu textboxlardan 1 tanesi bile boş olması durumunda işleme devam etmesin istiyorum.
bunu denedim fakat sonuç alamadım
6 adet textbox'ım var. Bu textboxlardan 1 tanesi bile boş olması durumunda işleme devam etmesin istiyorum.
Kod:
If TextBox1.Value = "" Then
MsgBox " TextBox1 boş geçildi!"
Exit Sub
End If
If TextBox2.Value = "" Then
MsgBox "TextBox2 boş geçildi!"
Exit Sub
End If
If TextBox3.Value = "" Then
MsgBox " TextBox3 boş geçildi!"
Exit Sub
End If
If TextBox4.Value = "" Then
MsgBox " TextBox4 boş geçildi!"
Exit Sub
End If
If TextBox5.Value = "" Then
MsgBox " TextBox5 boş geçildi!"
Exit Sub
End If
If TextBox6.Value = "" Then
MsgBox " TextBox6 boş geçildi!"
Exit Sub
End If
bunu denedim fakat sonuç alamadım
