1903emre34@gmail.com
Altın Üye
- Katılım
- 29 Mayıs 2016
- Mesajlar
- 946
- Excel Vers. ve Dili
- Microsoft Excel 2013 Türkçe
Merhaba,
Aşağıdaki kodda or hesap=858 or hesap=25 (siyah punto) hesap larıilave ettiğim zaman aşağıdaki hatayı almaktayım, hangi ilave ek ilave yapmam gerekir, yardımlarınız rica ederim.
Sub Düğme2_Tıklat()
sonsatir = Cells(Rows.Count, "A").End(3).Row
buldu = False
For i = sonsatir To 1 Step -1
hesap = Cells(i, "C").Value
yevmiye = Cells(i, "B").Value
If i = sonsatir Then
eskiyevmiye = yevmiye
sayozel = 0
saynormal = 0
altsatir = i
End If
If yevmiye <> eskiyevmiye Then
If saynormal = 0 Then
For j = altsatir To i + 1 Step -1
Rows(j).Delete
Next j
altsatir = i
Else
altsatir = i
End If
i = i + 1
sayozel = 0
saynormal = 0
GoTo son
End If
If hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap or hesap=858 or hesap=25
Then
sayozel = sayozel + 1
Else
saynormal = saynormal + 1
End If
son:
eskiyevmiye = yevmiye
Next i
UserForm1.Show
Application.Calculation = xlCalculationManual: Application.ScreenUpdating = False
Application.Calculation = xlCalculationAutomatic: Application.ScreenUpdating = True
MsgBox "...", vbInformation, "..:: ."
End Sub
Aşağıdaki kodda or hesap=858 or hesap=25 (siyah punto) hesap larıilave ettiğim zaman aşağıdaki hatayı almaktayım, hangi ilave ek ilave yapmam gerekir, yardımlarınız rica ederim.
Sub Düğme2_Tıklat()
sonsatir = Cells(Rows.Count, "A").End(3).Row
buldu = False
For i = sonsatir To 1 Step -1
hesap = Cells(i, "C").Value
yevmiye = Cells(i, "B").Value
If i = sonsatir Then
eskiyevmiye = yevmiye
sayozel = 0
saynormal = 0
altsatir = i
End If
If yevmiye <> eskiyevmiye Then
If saynormal = 0 Then
For j = altsatir To i + 1 Step -1
Rows(j).Delete
Next j
altsatir = i
Else
altsatir = i
End If
i = i + 1
sayozel = 0
saynormal = 0
GoTo son
End If
If hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap = 100 Or hesap or hesap=858 or hesap=25
Then
sayozel = sayozel + 1
Else
saynormal = saynormal + 1
End If
son:
eskiyevmiye = yevmiye
Next i
UserForm1.Show
Application.Calculation = xlCalculationManual: Application.ScreenUpdating = False
Application.Calculation = xlCalculationAutomatic: Application.ScreenUpdating = True
MsgBox "...", vbInformation, "..:: ."
End Sub
Son düzenleme:
