Michael151
Board Regular
- Joined
- Sep 20, 2010
- Messages
- 247
Hello all,
I’m trying to write a macro that will create a column after the last column in a sheet and fill in that column until the last row in column A.
Before sheet:
Row1 Col1 Col2
Row2 Col1 Col2
Row3 Col1 Col2
Row4 Col1 Col2
Row5 Col1 Col2
After Macro:
Row1 Col1 Col2 NewColumn
Row2 Col1 Col2 NewCol
Row3 Col1 Col2 NewCol
Row4 Col1 Col2 NewCol
Row5 Col1 Col2 NewCol
The macro will need to insert a header in row 1 labeled “NewColumn” and fill down with the word “NewCol” until the last row in Column A.
Any help is most appreciated – thanks!
I’m trying to write a macro that will create a column after the last column in a sheet and fill in that column until the last row in column A.
Before sheet:
Row1 Col1 Col2
Row2 Col1 Col2
Row3 Col1 Col2
Row4 Col1 Col2
Row5 Col1 Col2
After Macro:
Row1 Col1 Col2 NewColumn
Row2 Col1 Col2 NewCol
Row3 Col1 Col2 NewCol
Row4 Col1 Col2 NewCol
Row5 Col1 Col2 NewCol
The macro will need to insert a header in row 1 labeled “NewColumn” and fill down with the word “NewCol” until the last row in Column A.
Any help is most appreciated – thanks!