Sub test()z1 = Cells(Rows.Count, "A").End(xlUp).RowFor i = 7 To z1 Step 3Sum = Sum + Range("A" & i)NextMsgBox SumEnd Sub
کامنت