o2l3m
Altın Üye
- Katılım
- 2 Mart 2005
- Mesajlar
- 156
- Excel Vers. ve Dili
- Microsoft® Excel ® 2016 (16.0.5413.1000) MSO (16.0.5413.1000) 32 bit
Aşağıdaki kodu kullanıyorum. Fakat yanlış veri girişine karşı uyarmasını istiyorum. Mesela 15:65 gibi mantıksız bir saat girişine izin vermemeli kod.
Private Sub TextBox2_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If Len(TextBox2) < 5 Then TextBox2 = Format(TextBox2, "00:00")
End Sub
Private Sub TextBox2_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If Len(TextBox2) < 5 Then TextBox2 = Format(TextBox2, "00:00")
End Sub
