Hi all!
I need a fast way to fill 7000+ cells with a formula that refers to that cell's row. Row one would be "=SUM(N1:AK1)"
OR
I need a way to check each of 7000+ rows for a value greater than 0 in any of 8 columns.
If I use the first method, I will just delete the formulas after my check anyway. So the second method might be better. So far I've tried (TempRange1 = AO10:AO7000):
but it is VERY slow.
VBAjedi![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)
I need a fast way to fill 7000+ cells with a formula that refers to that cell's row. Row one would be "=SUM(N1:AK1)"
OR
I need a way to check each of 7000+ rows for a value greater than 0 in any of 8 columns.
If I use the first method, I will just delete the formulas after my check anyway. So the second method might be better. So far I've tried (TempRange1 = AO10:AO7000):
Code:
For Each TempRange2 In TempRange1
TempRange2.Value = "=SUM(N" & TempRange2.row _
& ":AK" & TempRange2.row & ")"
Next TempRange2
VBAjedi
![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)