DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub listele()
Set s1 = Sheets("" & [e4])
sut = s1.[a2:m2].Find([e2]).Column
[b4] = s1.Cells(3, sut)
[b5] = s1.Cells(4, sut)
[c4] = s1.Cells(8, sut)
[c5] = s1.Cells(9, sut)
[b9] = WorksheetFunction.Sum(s1.Range(s1.Cells(3, 2), s1.Cells(3, sut)))
[b10] = WorksheetFunction.Sum(s1.Range(s1.Cells(4, 2), s1.Cells(4, sut)))
[c9] = WorksheetFunction.Sum(s1.Range(s1.Cells(8, 2), s1.Cells(8, sut)))
[c10] = WorksheetFunction.Sum(s1.Range(s1.Cells(9, 2), s1.Cells(9, sut)))
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$E$4" Or [e2] = 0 Then Exit Sub
Set s1 = Sheets("" & [e4])
sut = s1.[a2:m2].Find([e2]).Column
[b4] = s1.Cells(3, sut)
[b5] = s1.Cells(4, sut)
[c4] = s1.Cells(8, sut)
[c5] = s1.Cells(9, sut)
[b9] = WorksheetFunction.Sum(s1.Range(s1.Cells(3, 2), s1.Cells(3, sut)))
[b10] = WorksheetFunction.Sum(s1.Range(s1.Cells(4, 2), s1.Cells(4, sut)))
[c9] = WorksheetFunction.Sum(s1.Range(s1.Cells(8, 2), s1.Cells(8, sut)))
[c10] = WorksheetFunction.Sum(s1.Range(s1.Cells(9, 2), s1.Cells(9, sut)))
End Sub