DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Buyurun.
Kod:Range("R12").Value = WorksheetFunction.Sum(Range("N12:Q12"))
Sub dongu_59()
Dim sonsat As Long, i As Long
Range("R:R").ClearContents
sonsat = Cells(Rows.Count, "N").End(xlUp).Row
For i = 1 To sonsat
If Cells(i, "N").Value <> "" Then
Range("R" & i).Value = WorksheetFunction.Sum(Range("N" & i & ":Q" & i))
End If
Next i
MsgBox "Bitti"
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Intersect(Target, Range("M11:Q" & Rows.Count)) Is Nothing Then Exit Sub
Range("R" & Target.Row).Value = WorksheetFunction.Sum(Range("M" & Target.Row & ":Q" & Target.Row))
End Sub
Rica ederim.Teşekkür ederim hocam, ellerine sağlık
Private Sub Worksheet_Change(ByVal Target As Range)
Dim sonsat As Long
On Error Resume Next
If Intersect(Target, Range("M12:Q" & Rows.Count & ",H12:H" & Rows.Count)) Is Nothing Then Exit Sub
sonsat = Cells(Rows.Count, "A").End(xlUp).Row
Cells(Target.Row, "A").Value = sonsat + 1 - 11
Range("R" & Target.Row).Value = WorksheetFunction.Sum(Range("M" & Target.Row & ":Q" & Target.Row))
End Sub
Rica ederim.Hocam Küçük bir değişikle çözülmüştür,, Emeklerinden dolayı çok çok teşekkür ederim.