Soru Sum toplama

Cengizhantr06

Altın Üye
Katılım
16 Mayıs 2020
Mesajlar
327
Excel Vers. ve Dili
Office 365 Türkçe
Altın Üyelik Bitiş Tarihi
18-05-2025
Nerede hata yapıyorum

Sheets("10gun").Value("B23") = Application.WorksheetFunction.Sum(Sheets("10gun").Range("B5:B22"))
Sheets("10gun").Value("C23") = Application.WorksheetFunction.Sum(Sheets("10gun").Range("C5:C22"))
Sheets("10gun").Value("D23") = Application.WorksheetFunction.Sum(Sheets("10gun").Range("D5:D22"))
Sheets("10gun").Value("E23") = Application.WorksheetFunction.Sum(Sheets("10gun").Range("E5:E22"))
Sheets("10gun").Value("F23") = Application.WorksheetFunction.Sum(Sheets("10gun").Range("F5:F22"))
Sheets("10gun").Value("G23") = Application.WorksheetFunction.Sum(Sheets("10gun").Range("G5:G22"))
Sheets("10gun").Value("H23") = Application.WorksheetFunction.Sum(Sheets("10gun").Range("H5:H22"))
 

Necdet

Moderatör
Yönetici
Katılım
4 Haziran 2005
Mesajlar
15,489
Excel Vers. ve Dili
Ofis 365 Türkçe
Merhaba,

Sheets("10gun").("B23") = Application.WorksheetFunction.Sum(Sheets("10gun").Range("B5:B22"))

olarak kullanın.
 

Necdet

Moderatör
Yönetici
Katılım
4 Haziran 2005
Mesajlar
15,489
Excel Vers. ve Dili
Ofis 365 Türkçe
Merhaba,

Deneyiniz.

Kod:
    Dim i As Integer
    
    For i = 2 To 8
        Cells(23, i) = Application.WorksheetFunction.Sum(Range(Cells(5, i), Cells(22, i)))
    Next i
 

Necdet

Moderatör
Yönetici
Katılım
4 Haziran 2005
Mesajlar
15,489
Excel Vers. ve Dili
Ofis 365 Türkçe
Rica ederim, güle güle kullanınız.
 
Üst