Set rng4 = Range([j7], [j7].End(xlDown))
' Set Link Start
'sht.Range("a7").Value = 1
'''Set rng1 = Range([q2], [q2].End(xlDown))
'''
'''Set rng2 = Range([p2], Cells([q1].Value * 7 + 1, 16))
'Set rng2 = Range("q2:q" & ActiveSheet.Range("q" & ActiveSheet.Rows.Count).End(xlUp).Row).Resize(, 7)
'Debug.Print rng2.Address
' Apply Formula
rng4.Offset(0, -9).FormulaR1C1 = "=IF(R[-3]C="""",1,SUM(R[-3]C)+1)"
|