hi snb still on the emergency call thanks again
I had already tested those, I have an error in the code of the copied sheets of the new workbook
Sub test001()
Worksheets(Array("Hanifatoys", "Aternal", "Arba")).Copy
With ActiveWorkbook
.SaveAs FileName:=FPath & FName & ".xlsx", FileFormat:=xlOpenXMLWorkbook
.Close SaveChanges:=False
End With
End Sub
'-------------------------------------------------
Sub test002()
Application.DisplayAlerts = False
'ThisWorkbook.Sheets.Copy
Sheets(Array("Hanifatoys", "Aternal", "Arba")).Copy
ActiveWorkbook.SaveAs FPath & FName & ".xlsx", 51
ActiveWorkbook.Close
'With Workbooks(Array("Hanifatoys", "Aternal", "Arba"))
'.SaveAs ThisWorkbook.Path & "\copy_001.xlsx", 51
'.Close
'End With
Application.DisplayAlerts = True
End Sub