- Katılım
- 25 Ocak 2006
- Mesajlar
- 763
- Excel Vers. ve Dili
- 2019 tr
normal de toplamı veriyor. vba da yazılı kodum var ama dediğim gibi gizli hücre olduğunda toplamasın istiyorum.
Function RenkTopla(Dizi As Range, Renk_Tipi As Range)
Dim Toplam As Double
Dim Hucre As Range
Toplam = 0
Application.Volatile
For Each Hucre In Dizi
[B][COLOR=red] If Hucre[/COLOR][COLOR=red].EntireRow.Hidden = False Then[/COLOR][/B]
If Hucre.Interior.Color = Renk_Tipi.Interior.Color Then
Toplam = Toplam + Hucre.Value
End If
[B][COLOR=red]End If[/COLOR][/B]
Next Hucre
RenkTopla = Toplam
End Function
süper. sorun yok gibi gözüküyor. teşekkürler.