Hi guys,
im trying to create a macro that can copy formulas in one column (cells: A10:A20) and based on a value in another cell (Cell: A1) the macro should paste the formulas the same number of columns (cells B10:G20) as the value is in Cell: A1 .
Lets say the value is 4 (January to April), then the macro should copy range A10:A20 and paste it in range B10:E10.
if the value is 7 (January to July), then the macro should copy range A10:20 and paste it in range B10:H10. etc
I will be very grateful, if someone know the answer.
im trying to create a macro that can copy formulas in one column (cells: A10:A20) and based on a value in another cell (Cell: A1) the macro should paste the formulas the same number of columns (cells B10:G20) as the value is in Cell: A1 .
Lets say the value is 4 (January to April), then the macro should copy range A10:A20 and paste it in range B10:E10.
if the value is 7 (January to July), then the macro should copy range A10:20 and paste it in range B10:H10. etc
I will be very grateful, if someone know the answer.