J
John
Each month I download finacial data into a worksheet...the number of
rows varies each month, but the number of columns remains constant. I
have a macro that insert a column to the right of A:A. Now, I need the
cells in the (new) column A to contain a single value (the year) that
extends from row 1 to the end of the last value in column b.
A B C
1 2004 data data
2 2004 data data
3 2004 data data
* data data
The above probably doesn't like aligned, but I'm trying to show how I
want to paste "2004" in each cell of column A all the way down until
the last used cell in column B.
Any help is appreciated!
rows varies each month, but the number of columns remains constant. I
have a macro that insert a column to the right of A:A. Now, I need the
cells in the (new) column A to contain a single value (the year) that
extends from row 1 to the end of the last value in column b.
A B C
1 2004 data data
2 2004 data data
3 2004 data data
* data data
The above probably doesn't like aligned, but I'm trying to show how I
want to paste "2004" in each cell of column A all the way down until
the last used cell in column B.
Any help is appreciated!