- Katılım
- 17 Eylül 2014
- Mesajlar
- 11
- Excel Vers. ve Dili
- Microsoft 365 64 Bit
- Altın Üyelik Bitiş Tarihi
- 01-03-2028
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)
ActiveSheet.Unprotect 123
Application.EnableEvents = False
If Not Intersect(Target, Range("D:D")) Is Nothing Then
Select Case Target.Text
Case "Kapasite Artırımı", "Parça Değişimi"
If Cells(Target.Row, "E") < 2000 Then
Cells(Target.Row, "K") = 500
ElseIf Cells(Target.Row, "E") >= 2000 Then
Cells(Target.Row, "K") = 700
End If
If Cells(Target.Row, "E") > 5000 Then
Cells(Target.Row, "K") = Cells(Target.Row, "K") + Int((Cells(Target.Row, "E") - 5000) / 2000) * 300
End If
Case "İlaçlı Temizlik ve Bakım"
Cells(Target.Row, "K") = 1000
Case "Parça Değişimi"
Case "Parça Tamiri"
End Select
ElseIf Not Intersect(Target, Range("F:F")) Is Nothing Then
If Target = "E" Then
Cells(Target.Row, "G") = 500
ElseIf Target = "H" Then
Cells(Target.Row, "G") = ""
End If
End If
Application.EnableEvents = True
ActiveSheet.Protect 123
End Sub