I have a data tab populating values for months running from Jan- Dec in Columns B-M.
The current column is formula driven as it pulls values from a separate table/query in the spreadsheet that is filtered for the current month..
lets assume the current column is Column C (February)- “C2:C6” is pulling values from the other table.
When running the report for March (Column D), I will copy and paste the formulas from C to D, and then paste as values into C (as it will no longer be pulled from the filtered by month table in the spreadsheet)
I need a macro that will copy and paste the current column to the next blank column and then overwrite(paste as values) in the current column.
So if “C2:C6” is pasted in “D2:D6”, then paste as values back in “C2:C6”. Then the next time I run the macro, it will go from “D2:D6” to “E2:E6”.
But the range is Column B-M
In the screenshot attached, ignore the header 'weeks' and assume it is months (Jan-Dec)
I need a macro that works within the range Column B-M, copies “C2:C6”, pastes as formula in the next blank column i.e D2:D6, then paste as values in C2:C6...
Then the next time I run the macro, it copies from D2:D6, pastes in E2:E6 and then pastes as values in C2:C6.
The current column is formula driven as it pulls values from a separate table/query in the spreadsheet that is filtered for the current month..
lets assume the current column is Column C (February)- “C2:C6” is pulling values from the other table.
When running the report for March (Column D), I will copy and paste the formulas from C to D, and then paste as values into C (as it will no longer be pulled from the filtered by month table in the spreadsheet)
I need a macro that will copy and paste the current column to the next blank column and then overwrite(paste as values) in the current column.
So if “C2:C6” is pasted in “D2:D6”, then paste as values back in “C2:C6”. Then the next time I run the macro, it will go from “D2:D6” to “E2:E6”.
But the range is Column B-M
In the screenshot attached, ignore the header 'weeks' and assume it is months (Jan-Dec)
I need a macro that works within the range Column B-M, copies “C2:C6”, pastes as formula in the next blank column i.e D2:D6, then paste as values in C2:C6...
Then the next time I run the macro, it copies from D2:D6, pastes in E2:E6 and then pastes as values in C2:C6.