Sub TransferData()
Dim LTot As Integer ' represents the line in the total tab
Dim WsTot As Worksheet ' represents your sheet tab
Dim i As Integer
Set WsTot=ThisWorkbook.sheets("Total") 'declare your Total tab
WsTot.Range("B4:Y10000").Clear ' clear the old data
For i = 1 To 5 ' numbers of your tabs
With ThisWorkbook.sheets("" & i)
.Range(.Cells(4,2),.Cells(.Range("B10000").End(xlUp).Rows,25)).Copy WsTot.Cells(LTot,2)
LTot=LTot+.Range("B10000").End(xlUp).Rows-4
End WIth
Next
End Sub