kemal turan
Altın Üye
- Katılım
- 10 Haziran 2011
- Mesajlar
- 1,677
- Excel Vers. ve Dili
- Excel 2010 32 bit
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub hesap ()
Sheets ("sayfa1").select
[P2:p10000].clearcontents
For i= 2 to Cells (65536, "O").End (xlUp)
Row
If Cells(i, "O").value <>"" and Cells (i, "O").value = Then
Cells (i, "p").value = "sevkte"
End if
Next ı
.......
End sub
Sub askm_kontrol()
Application.ScreenUpdating = False
Sheets("sayfa1").Select
[P2:p10000].ClearContents
SonSatir = Cells(65536, "O").End(xlUp).Row
For i = 2 To SonSatir
If Cells(i, "O").Value <> "" Then
If Cells(i, "O").Value = 0 Then
Cells(i, "p").Value = "SEVKTE"
ElseIf Cells(i, "O").Value > 0 And Cells(i, "O").Value = Cells(i, "E").Value Then
Cells(i, "p").Value = "TAM SEVK"
ElseIf Cells(i, "O").Value > 0 And Cells(i, "O").Value < Cells(i, "E").Value Then
Cells(i, "p").Value = "EKSİK SEVK"
ElseIf Cells(i, "O").Value > 0 And Cells(i, "O").Value > Cells(i, "E").Value Then
Cells(i, "p").Value = "HATALI SEVK"
End If
End If
Next i
MsgBox "İşleminiz tamamlanmıştır.", vbInformation, "ASKM"
Application.ScreenUpdating = True
End Sub