HI
I have a workbook with several sheets with same layout but different data,
How can I copy data from all sheets into 1, the amout of data varies so would need to past all data into next empty row.
I have this code
Sub SummurizeSheets()
Dim ws As Worksheet
Application.ScreenUpdating = False
Sheets("Summary1").Activate
For Each ws In Worksheets
If ws.Name <> "Summary1" Then
ws.Range("A:L").Copy
Worksheets("Summary1").Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).PasteSpecial (xlPasteValues)
End If
Next ws
End Sub
I just get debug , !!!!
I have a workbook with several sheets with same layout but different data,
How can I copy data from all sheets into 1, the amout of data varies so would need to past all data into next empty row.
I have this code
Sub SummurizeSheets()
Dim ws As Worksheet
Application.ScreenUpdating = False
Sheets("Summary1").Activate
For Each ws In Worksheets
If ws.Name <> "Summary1" Then
ws.Range("A:L").Copy
Worksheets("Summary1").Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).PasteSpecial (xlPasteValues)
End If
Next ws
End Sub
I just get debug , !!!!