- Katılım
- 15 Mart 2011
- Mesajlar
- 56
- Excel Vers. ve Dili
- İş 2003 Türkçe
Ev 2010 Türkçe
Arkadaşlar ekli dosyadaki userform3 te tarih aralığında arama yaptıramadım.
kodunda "tarih1" "DTPicker2.Value" den küçük olduğu halde "goto 40"adımı çalışıyor işin içinden çıkamadım
Kod:
If DTPicker1.Value = "" And DTPicker2.Value = "" Then
GoTo 70
Else
If DTPicker1.Value <> "" And DTPicker2.Value = "" Then
If tarih1 < DTPicker1.Value Then
GoTo 40
Else
GoTo 70
End If
Else
If DTPicker1.Value <> "" And DTPicker2.Value <> "" Then
If tarih1 < DTPicker1.Value Or tarih1 > DTPicker2.Value Then
GoTo 40
Else
GoTo 70
End If
Else
If tarih1 > DTPicker2.Value Then
GoTo 40
Else
GoTo 70
End If
End If
End If
End If
kodunda "tarih1" "DTPicker2.Value" den küçük olduğu halde "goto 40"adımı çalışıyor işin içinden çıkamadım
