- Katılım
- 3 Mart 2009
- Mesajlar
- 519
- Excel Vers. ve Dili
- excel 2003 tr
Zorunlu boş olmaz ve sayıgirin kodu çözüldü
aşagıdaki kodlar birleştirile bilirmi acaba
For X = 1 To 39
If Controls("TextBox" & X).Value = Empty Then
MsgBox (" LÜTFEN BİR SAYI GİRİNİZ." _
& Chr(10) & "Lütfen boş bıraktığınız bölümleri doldurunuz."), vbExclamation, "DİKKAT !"
Controls("TextBox" & X).SetFocus
Exit Sub
End If
Next X
If TextBox1 = "" Then Exit Sub
If Not IsNumeric(TextBox1) Then
MsgBox "Rakam Girmek Zorunludur.", , " HATALI GİRİŞ"
TextBox1 = ""
Cancel = 1
Exit Sub
End If
aşagıdaki kodlar birleştirile bilirmi acaba
For X = 1 To 39
If Controls("TextBox" & X).Value = Empty Then
MsgBox (" LÜTFEN BİR SAYI GİRİNİZ." _
& Chr(10) & "Lütfen boş bıraktığınız bölümleri doldurunuz."), vbExclamation, "DİKKAT !"
Controls("TextBox" & X).SetFocus
Exit Sub
End If
Next X
If TextBox1 = "" Then Exit Sub
If Not IsNumeric(TextBox1) Then
MsgBox "Rakam Girmek Zorunludur.", , " HATALI GİRİŞ"
TextBox1 = ""
Cancel = 1
Exit Sub
End If
Son düzenleme:
