DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
[SIZE="2"][FONT="Trebuchet MS"]Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
Application.EnableEvents = False
If Not Intersect(Target, Range("C3:N18")) Is Nothing Then Call Emre
Application.EnableEvents = True
Application.ScreenUpdating = True
End Sub[/FONT][/SIZE]
[SIZE="2"][FONT="Trebuchet MS"]Sub Emre()
Dim i As Integer
For i = 3 To 18
Cells(i, 5) = Cells(i, 3) - Cells(i, 4)
Cells(i, 8) = Cells(i, 6) - Cells(i, 7)
Cells(i, 11) = Cells(i, 9) - Cells(i, 10)
Cells(i, 14) = Cells(i, 12) - Cells(i, 13)
Cells(i, 15) = Cells(i, 3) + Cells(i, 6) + Cells(i, 9) + Cells(i, 12)
Cells(i, 16) = Cells(i, 4) + Cells(i, 7) + Cells(i, 10) + Cells(i, 13)
Cells(i, 17) = Cells(i, 15) - Cells(i, 16)
Next i
i = Empty
End Sub[/FONT][/SIZE]
[SIZE="2"][FONT="Trebuchet MS"]Private Sub Workbook_Open()
If VBA.Date = "01.01.2013" Then
Columns("C:E").Select
Selection.Delete Shift:=xlToLeft
Columns("L:L").Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Columns("I:K").Select
Selection.Copy
Columns("L:L").Select
ActiveSheet.Paste
Range("L1").Select
End If
Range("R3:T18").ClearContents
Application.CutCopyMode = False
End Sub[/FONT][/SIZE]