TextBox'a veri girilmişse işlemi yürüt

Katılım
30 Kasım 2006
Mesajlar
411
Excel Vers. ve Dili
Excel 2007 - Türkçe
Altın Üyelik Bitiş Tarihi
05.07.2020
Arkadaşalar içinden çıkamadığım yeni konu yardımcı olursanız sevinirim.Saygılar....

If TextBox720.Text = Veri girilmişse işlemi yürüt yoksa atla
gibi bir şey

If TextBox720.Text = True Then' (Veri girlmişse işlemi gerçekleştir.)
sonsat = [b65536].End(3).Row + 1
Cells(sonsat, 1) = sonsat - 1
Cells(sonsat, 2) = CDate(TextBox2)
Cells(sonsat, 3) = Liste1
Cells(sonsat, 4) = ComboBox1
Cells(sonsat, 5) = TextBox714
Cells(sonsat, 6) = CDate(TextBox715)
Cells(sonsat, 7) = TextBox762
Cells(sonsat, 8) = CDate(TextBox716)
Cells(sonsat, 9) = TextBox720
Cells(sonsat, 10) = TextBox721
Cells(sonsat, 11) = TextBox722
End If
'...........................................
If TextBox723.Text = True Then' (Veri girlmişse işlemi gerçekleştir.)
sonsat = [b65536].End(3).Row + 1
Cells(sonsat, 1) = sonsat - 1
Cells(sonsat, 2) = CDate(TextBox2)
Cells(sonsat, 3) = Liste1
Cells(sonsat, 4) = ComboBox1
Cells(sonsat, 5) = TextBox714
Cells(sonsat, 6) = CDate(TextBox715)
Cells(sonsat, 7) = TextBox762
Cells(sonsat, 8) = CDate(TextBox716)
Cells(sonsat, 9) = TextBox723
Cells(sonsat, 10) = TextBox724
Cells(sonsat, 11) = TextBox725
End If
'................................................
 
Son düzenleme:
Katılım
30 Kasım 2006
Mesajlar
411
Excel Vers. ve Dili
Excel 2007 - Türkçe
Altın Üyelik Bitiş Tarihi
05.07.2020
Cevabı buldum yinede herkez şükranlarımı sunuyorum
If Len(TextBox720) > 0 Then
sonsat = [b65536].End(3).Row + 1
Cells(sonsat, 1) = sonsat - 1
Cells(sonsat, 2) = CDate(TextBox2)
Cells(sonsat, 3) = Liste1
Cells(sonsat, 4) = ComboBox1
Cells(sonsat, 5) = TextBox714
Cells(sonsat, 6) = CDate(TextBox715)
Cells(sonsat, 7) = TextBox762
Cells(sonsat, 8) = CDate(TextBox716)
Cells(sonsat, 9) = TextBox720
Cells(sonsat, 10) = TextBox721
Cells(sonsat, 11) = TextBox722
End If
 
Katılım
23 Şubat 2007
Mesajlar
1,212
Excel Vers. ve Dili
Excel2003
Selamlar,
If TextBox720 <> "" Then
.............................
Else
Exit Sub
End If
End Sub
 
Üst