I have the following code that I use to insert formulas. I now have a need to skip a row when inserting the formula. I am not sure how to incorporate a loop into the code, so it will be inserted every two rows, instead of the next available row. Appreciate any help or hints on solving.
Sub fill_Down()
Dim my_range As Range
With Worksheets("Money")
Set my_range = .Range("B6:B" & .Range("E65536").End(xlUp).Row)
my_range.Formula = _
"=IF($Q6="YES",$E7,$E6)"
End With
End Sub
Sub fill_Down()
Dim my_range As Range
With Worksheets("Money")
Set my_range = .Range("B6:B" & .Range("E65536").End(xlUp).Row)
my_range.Formula = _
"=IF($Q6="YES",$E7,$E6)"
End With
End Sub