ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Freezing the data in a column and moving the calculations to the next column (https://www.excelbanter.com/excel-programming/319131-freezing-data-column-moving-calculations-next-column.html)

Mervyn Thomas

Freezing the data in a column and moving the calculations to the next column
 
I have a simple P&L by month with 12 months along the top.
I'm trying to figure out the VB code that would enable an operator to copy a
selected column - say the january column, copy the formulas only to the
february column and then paste-special-values in the original january
column. This works OK manually except the paste-special-formulas only
command also pastes the previous column headings as well!
Can anyone suggest how to do this?



Tom Ogilvy

Freezing the data in a column and moving the calculations to the next column
 
don't copy the whole column, start with the cell below the headers.

--
Regards,
Tom Ogilvy


"Mervyn Thomas" wrote in message
...
I have a simple P&L by month with 12 months along the top.
I'm trying to figure out the VB code that would enable an operator to copy

a
selected column - say the january column, copy the formulas only to the
february column and then paste-special-values in the original january
column. This works OK manually except the paste-special-formulas only
command also pastes the previous column headings as well!
Can anyone suggest how to do this?






All times are GMT +1. The time now is 02:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com