Hello,
I'd like to copy and paste formulas from filtered column, this works for me :
how can I do it in 1 statement ? when I tried to use
it didn't work as supposed, probably because it didn't handle filtered rows correctly. Any suggestions ?
I'd like to copy and paste formulas from filtered column, this works for me :
Code:
Sheets(1).Range("A5:C" & LastRow).Copy
Sheets(2).Range("A5:C" & Range("D" & Rows.Count).End(xlUp).Row).PasteSpecial xlPasteFormulas
how can I do it in 1 statement ? when I tried to use
Code:
Sheets(2).Range("A5:C" & Range("D" & Rows.Count).End(xlUp).Row).Formula = Sheets("STAT1").Range("A5:C" & LastRow).Formula
it didn't work as supposed, probably because it didn't handle filtered rows correctly. Any suggestions ?