DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_Change(ByVal Target As Range)
If IsDate(Range("A2")) = False Or IsDate(Range("B2")) = False Or Intersect(Target, [B2]) Is Nothing Then Exit Sub
If Not [B2] > [A2] Then
MsgBox "Son tarih İlk Tarihten Küçük....", vbCritical, "Hatalı Durum"
Exit Sub
End If
Application.EnableEvents = False
Dim i As Integer
Range("D2", Cells(2, Columns.Count)).ClearContents
For i = 0 To Range("B2") - Range("A2")
Cells(2, i + 4) = [A2] + i
Next i
Application.EnableEvents = True
End Sub