Please help me, I need to copy different ranges until first blank cell from all the sheets and paste them in a new one. All in the same Workbook.
This is my attempt:
Sub Target()
Dim lRow As Long
Dim copyRange As Range
Dim sh As Worksheet
Dim shReport As Worksheet
Set shReport = ThisWorkbook.Worksheets("Target")
For Each sh In ThisWorkbook.Worksheets
Select Case sh.Name
Case Is <> "ALLProjectForReport"
lRow = shReport.Cells(Rows.Count, "B").End(xlUp).Row
Set copyRange = sh.Range("A3")
copyRange.Copy Destination:=shReport.Range("B" & lRow)
End Select
Next
Set shReport = Nothing
Set sh = Nothing
End Sub