Hi,
You can use,
or, u can use. this will select the cells from B6 until it finds the nonblank cell in the sheet.![]()
Range("B6:B160").Select Selection.Copy
![]()
Sub try() Dim rLastCol As Range Range("B6").Select Set rLastCol = Cells.Find(What:="*", After:=[A1], _ SearchOrder:=xlByColumns, _ SearchDirection:=xlPrevious) Application.Goto Range(ActiveCell, rLastCol) End Sub
Bookmarks