Sub Demo()
Dim ws As Worksheet
i = 1
For Each ws In ThisWorkbook.Worksheets
If Not ws.Name = "Summary" Then
With Sheets("Summary")
.Range("A" & i & ":C" & i).Value = ws.Range("C1:E1").Value
End With
i = i + 1
End If
Next
End Sub
Sub Demo()
Dim ws As Worksheet
i = 1
For Each ws In ThisWorkbook.Worksheets
If ws.Name Like "data*" Then
With Sheets("Summary")
.Range("A" & i & ":C" & i).Value = ws.Range("C1:E1").Value
End With
i = i + 1
End If
Next
End Sub
Sub Demo()
Dim ws As Worksheet
i = 3
For Each ws In ThisWorkbook.Worksheets
If ws.Name Like "data*" Then
With Sheets("Summary")
.Range("A" & i & ":I" & i).Value = ws.Range("S1:AA1").Value
End With
i = i + 1
End If
Next
End Sub