Sorry i did this the first time but had to relog in before i could post it, it slipped my mind after re-writing my post, but anyway.
I followed the link advised by Shockeroo and modified it for my worksheet, which it works perfectly thank you for that except the only thing i can't figure out is how to change the code to include all rows and not just the one row as stated in the code below.
Option Explicit
Sub Consolidate()
Dim OutSH As Worksheet
Dim ws As Worksheet
Set OutSH = Sheets("All")
OutSH.Cells.ClearContents
OutSH.Range("A1:H1").Value = Array("Employee ID", "Employee Name", "", "Fund", "", "Accounting Unit", "", "Account Number", "Mileage")
For Each ws In Worksheets
If ws.Name <> OutSH.Name And ws.Name <> "ByDept" Then _
OutSH.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Resize(1, 10).Value = _
ws.Cells(80, 2).Resize(1, 10).Value
Next ws
OutSH.Range("A:A").ClearContents
OutSH.Columns.AutoFit
Set OutSH = Nothing
End Sub
so where the above code pulls back data from row 80, for example i want it to pull data from row 1 - 100.
If you could please explain how i can modify the above to do that it would be greatly appreciated :D
Bookmarks