Option Explicit
Sub SummarizeDataV2()
' hiker95, 08/11/2011
' http://www.mrexcel.com/forum/showthread.php?t=570236
Dim wSum As Worksheet, ws As Worksheet
Dim LR As Long, NR As Long
Application.ScreenUpdating = False
Set wSum = Worksheets("Summary")
For Each ws In ThisWorkbook.Worksheets
If ws.Name <> "Summary" Then
If ws.Name = "Sheet1" Then
With ws
LR = ws.Cells(Rows.Count, 1).End(xlUp).Row
NR = wSum.Range("A" & Rows.Count).End(xlUp).Offset(1).Row
wSum.Range("A" & NR).Resize(LR - 9).Value = ws.Range("D8").Value
wSum.Range("B" & NR).Resize(LR - 9, 2).Value = ws.Range("A10:B" & LR).Value
wSum.Range("D" & NR).Resize(LR - 9).Value = ws.Range("D10:D" & LR).Value
End With
Else
With ws
LR = ws.Cells(Rows.Count, 1).End(xlUp).Row
NR = wSum.Range("A" & Rows.Count).End(xlUp).Offset(1).Row
wSum.Range("A" & NR).Resize(LR - 9).Value = ws.Range("D8").Value
wSum.Range("B" & NR).Resize(LR - 9, 3).Value = ws.Range("A10:C" & LR).Value
End With
End If
End If
Next ws
LR = wSum.Cells(Rows.Count, 1).End(xlUp).Row
wSum.Range("A8:A" & LR).NumberFormat = "m/d/yyyy"
wSum.Activate
Application.ScreenUpdating = True
End Sub