selamlar
combobox içinde dört format harici başka bişey olamsın diyorum
format şekilleri : 2005/1 , 2005/11 , 2005/111 , 2005/1111 gibi 4 seçenek var diğer fomatta girilirse olay bitsin
Private Sub ComboBox13_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If ComboBox13 = Format(ComboBox13, "####,/,###") Then
ElseIf ComboBox13 = Format(ComboBox13, "####,/,##") Then
TextBox12 = ComboBox13
Else
msgbox "hata"
ComboBox13.Value = ""
Exit Sub
End If
End Sub
gibi değişik yöntemler denedimama ama olmuyor
combobox içinde dört format harici başka bişey olamsın diyorum
format şekilleri : 2005/1 , 2005/11 , 2005/111 , 2005/1111 gibi 4 seçenek var diğer fomatta girilirse olay bitsin
Private Sub ComboBox13_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If ComboBox13 = Format(ComboBox13, "####,/,###") Then
ElseIf ComboBox13 = Format(ComboBox13, "####,/,##") Then
TextBox12 = ComboBox13
Else
msgbox "hata"
ComboBox13.Value = ""
Exit Sub
End If
End Sub
gibi değişik yöntemler denedimama ama olmuyor