VBAProIWish
Well-known Member
- Joined
- Jul 6, 2009
- Messages
- 1,027
- Office Version
- 365
- Platform
- Windows
Hello All,
I have this code below that copies Column B, but it starts in cell B2. I need it to copy the title row (Cell B1) as well.
I tried this...
...but it didn't work.
Does anyone know how to copy a column (including the title row; row 1) but only copy down to the last row of data in column A?
Thanks much
I have this code below that copies Column B, but it starts in cell B2. I need it to copy the title row (Cell B1) as well.
Code:
.Range("B2").Copy Destination:=.Range("B2:B" & .Range("A" & Rows.Count).End(xlUp).Row)
I tried this...
Code:
.Range("B:B").Copy Destination:=.Range("B:B" & .Range("A" & Rows.Count).End(xlUp).Row)
...but it didn't work.
Does anyone know how to copy a column (including the title row; row 1) but only copy down to the last row of data in column A?
Thanks much