Option Explicit
Private Sub Worksheet_Activate()
Dim Sh As Worksheet
Application.ScreenUpdating = False
Range("A1").CurrentRegion.ClearContents
[A1] = "STT": [B1] = "TEN": [C1] = "SO LUONG"
For Each Sh In Worksheets
If Sh.Name <> "Tonghop" Then
With Sh.Range("A1").CurrentRegion.Offset(1)
.Copy: Range("A65536").End(xlUp).Offset(1).PasteSpecial 3
End With
End If
Next Sh
With Range("A1").CurrentRegion.Offset(1).Resize(, 1).SpecialCells(2)
.Value = Evaluate("=Row($1:$10000)"): .Cells(1, 1).Select
End With
Application.CutCopyMode = False
End Sub