السلام عليكم
جرب هذا الكود
Public Sub Ali_Copy()
Dim Sh As Worksheet
Dim W1 As Workbook
Set W1 = ThisWorkbook
Dim W As Workbook
Set W = Workbooks.Add(xlWorksheet)
With Application
.ScreenUpdating = False
.EnableEvents = False
.Calculation = xlCalculationManual
W.Sheets(1).Name = "Test"
.DisplayAlerts = False
For Each Sh In W1.Sheets
Sh.Copy After:=W.Sheets(W.Sheets.Count)
Next Sh
W.Sheets(1).Delete
.ScreenUpdating = True
.EnableEvents = True
.Calculation = xlCalculationAutomatic
.DisplayAlerts = True
End With
End Sub