Michael151
Board Regular
- Joined
- Sep 20, 2010
- Messages
- 247
Hello all,
I’m trying to write a macro that will copy a column, then change the header of the new column in row 1:
In the column labeled “New_Deal”, make a copy of this column by inserting a new column to the right, then change the header of the new column to “New_Deal_2”
Before sheet:
Row1 Col1 New_Deal
Row2 Col1 Col2
Row3 Col1 Col2
Row4 Col1 Col2
Row5 Col1 Col2
After Macro:
Row1 Col1 New_Deal New_Deal_2
Row2 Col1 Col2 Col2
Row3 Col1 Col2 Col2
Row4 Col1 Col2 Col2
Row5 Col1 Col2 Col2
The New_Deal column can be in any column letter, which is why I’d like to use the header in row 1 to identify.
Any help is most appreciated – thanks!
I’m trying to write a macro that will copy a column, then change the header of the new column in row 1:
In the column labeled “New_Deal”, make a copy of this column by inserting a new column to the right, then change the header of the new column to “New_Deal_2”
Before sheet:
Row1 Col1 New_Deal
Row2 Col1 Col2
Row3 Col1 Col2
Row4 Col1 Col2
Row5 Col1 Col2
After Macro:
Row1 Col1 New_Deal New_Deal_2
Row2 Col1 Col2 Col2
Row3 Col1 Col2 Col2
Row4 Col1 Col2 Col2
Row5 Col1 Col2 Col2
The New_Deal column can be in any column letter, which is why I’d like to use the header in row 1 to identify.
Any help is most appreciated – thanks!