Only paste the values from the first workbook and then it appears to not locate the next open row??
Sub Loopthrudirectory()
Dim myfile As String
Dim erow
myfile = Dir("C:\AA_HISTORY")
Do While Len(myfile) > 0
If myfile = "activity Log.xlsm" Then
Exit Sub
End If
Workbooks.Open (myfile)
Range("ak4:AT13").Copy
ActiveWorkbook.Close
erow = Sheet1.Cells(Rows.Count, 3).End(xlUp).Offset(3, 0).Row
ActiveSheet.Paste Destination:=Worksheets("Sheet1").Range(Cells(erow, 2), Cells(erow, 11))
myfile = Dir
Loop
End Sub
Sub Loopthrudirectory()
Dim myfile As String
Dim erow
myfile = Dir("C:\AA_HISTORY")
Do While Len(myfile) > 0
If myfile = "activity Log.xlsm" Then
Exit Sub
End If
Workbooks.Open (myfile)
Range("ak4:AT13").Copy
ActiveWorkbook.Close
erow = Sheet1.Cells(Rows.Count, 3).End(xlUp).Offset(3, 0).Row
ActiveSheet.Paste Destination:=Worksheets("Sheet1").Range(Cells(erow, 2), Cells(erow, 11))
myfile = Dir
Loop
End Sub