• DİKKAT

    DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
    Altın Üyelik Hakkında Bilgi

Textbox Enter

  • Konbuyu başlatan Konbuyu başlatan memduh
  • Başlangıç tarihi Başlangıç tarihi
Katılım
21 Mart 2005
Mesajlar
200
Excel Vers. ve Dili
Ofiice 2013
Eğer textbxo1 boş ise textbox enter olayı çalışmasın. Textbox1 dolu ise textbox enter çalışsın. Saygılar.
 
Private Sub TextBox1_Enter()
If TextBox1 = "" Then
Exit Sub
Else
MsgBox ("Dolu")
End If
End Sub
 
Sayın metinozlu cevabınız için teşekkür ederim. Sanırım yanlış ifade ettim.
Eğer textbxo1 boş ise textbox1 de entere basınca textbox2 ye geçmesin. Textbox1 dolu ise textbox2 ye geçsin. Saygılar.
 
Selamlar,

Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If TextBox1 = "" Then
MsgBox ("LÜTFEN VERİ GİRİNİZ...")
Cancel = True
Else
Cancel = False
End If
End Sub
 
Geri
Üst