A
alienscript
Hi Vasant,
If I select any number of cells with formulas in row 1 (not just one
cell) and I want to copy down to the Last row which is not completely
blank in its 255 cells.
Hope you can help again to amend the code you have given me before.
Thanks very very much !
Sub CopyToEnd()
'
'Alienscript tested it works for cell N2.
'I realize sometimes I need to select few cells in row 1 and I do not
want to amend the code every now and then for each column at a time..
Dim LastRow As Long
LastRow = Cells(Rows.Count, 2).End(xlUp).Row
Range("N2").Copy Range("N3:N" & LastRow)
End Sub
If I select any number of cells with formulas in row 1 (not just one
cell) and I want to copy down to the Last row which is not completely
blank in its 255 cells.
Hope you can help again to amend the code you have given me before.
Thanks very very much !
Sub CopyToEnd()
'
'Alienscript tested it works for cell N2.
'I realize sometimes I need to select few cells in row 1 and I do not
want to amend the code every now and then for each column at a time..
Dim LastRow As Long
LastRow = Cells(Rows.Count, 2).End(xlUp).Row
Range("N2").Copy Range("N3:N" & LastRow)
End Sub