Question : Excel - Copy all Tab data to one master tab automatically

Hi,
Im not great at Excel formulas and was after help. I have 10-15 tabs on my spreadsheet. Daily, users enter in new data to these various tabs. At tht end of the day these new entries need to be totalled. this is a pain. Is it possible to have a master tab, where every piece of data in the other 15 tabs is copied automatically into it?
Thanks

Answer : Excel - Copy all Tab data to one master tab automatically

Try this

Sub Combine()
    Dim J As Integer

    On Error Resume Next
    Sheets(1).Select
    Worksheets.Add ' add a sheet in first place
    Sheets(1).Name = "Combined"

    ' copy headings
    Sheets(2).Activate
    Range("A1").EntireRow.Select
    Selection.Copy Destination:=Sheets(1).Range("A1")

    ' work through sheets
    For J = 2 To Sheets.Count ' from sheet 2 to last sheet
        Sheets(J).Activate ' make the sheet active
        Range("A1").Select
        Selection.CurrentRegion.Select ' select all cells in this sheets

        ' select all lines except title
        Selection.Offset(1, 0).Resize(Selection.Rows.Count - 1).Select

        ' copy cells selected in the new sheet on last line
        Selection.Copy Destination:=Sheets(1).Range("A65536").End(xlUp)(2)
    Next
End Sub
Random Solutions  
 
programming4us programming4us