C
carg1
What I meant, more specifically (sorry I was kind of vague!) , is that
have formulas in cells M2 and N2, and I just want them to autofill down
For example, if the sheet has 368 rows, I want it to autofill columns
and N with the formulas down to the final row. Will that code
have formulas in cells M2 and N2, and I just want them to autofill down
For example, if the sheet has 368 rows, I want it to autofill columns
and N with the formulas down to the final row. Will that code
Dale said:This assumes that column 1 contains all the rows that need the formula
applied to and cell H1 contains the initial formula. Duplicate th
copy/paste
process for multiple, non-adjacent columns. For adjacent columns, yo
could
"resize" the copy (".Resize(1, 2)").
Sub procFillFormulas()
Cells(1, 8).Copy
Range(Cells(2, 8), Cells(Cells(Rows.Count, 1).End(xlUp).Row,
8)).PasteSpecial xlPasteFormulas
Application.CutCopyMode = False
End Sub
Dale Preuss