Not sure where you are getting your tickets from, but after the macro runs, the sheet will be renamed with the value in Range("Al").
Example: If you have 123 in Range("A1") then you would end up with >> Total (123)
S
ub MoveData()
Dim ws As Worksheet
Dim LRsrc As Long
Dim LRdst As Long
Const StartRow As Long = 2
Const ColLet As String = "B"
For Each ws In ActiveWorkbook.Worksheets
With ws
If .Name <> "Total" Then
LRsrc = ws.Range(ColLet & Rows.Count).End(xlUp).Row
LRdst = Sheets("Total").Range(ColLet & Rows.Count).End(xlUp).Offset(1).Row
.Range(.Cells(StartRow, ColLet), .Cells(LRsrc, ColLet)).Copy Sheets("Total").Range("B" & LRdst)
End If
End With
Next ws
Application.Goto Sheets("Total").Range("A1")
With Sheets("Total")
.Name = "Total (" & .Range("A1") & ")"
End With
End Sub
Bookmarks