Public Sub GPE()
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Dim Path As String, oFolder As Object, Arr, Ws As Worksheet, Wb As Workbook
Arr = Array(Sheet3.Name, Sheet5.Name)
Set oFolder = CreateObject("Shell.Application").BrowseForFolder(0, "Hay chon thu muc luu file", 0)
If oFolder Is Nothing Then
MsgBox "Chua chon thu muc luu": Exit Sub
End If
Path = oFolder.Items.Item.Path
Sheets(Arr).Copy
Set Wb = ActiveWorkbook
For Each Ws In Wb.Worksheets
Ws.Range("A1", Ws.Range("A65000").End(3)).Resize(, 23).Value _
= Ws.Range("A1", Ws.Range("A65000").End(3)).Resize(, 23).Value
Ws.PageSetup.PrintArea = Ws.Range("A1", Ws.Range("A65000").End(3)).Resize(, 23).Address
Ws.PageSetup.Orientation = xlLandscape
Ws.PageSetup.PaperSize = xlPaperA4
Next Ws
Wb.Close True, Path & "\File New.xlsx"
Application.ScreenUpdating = True
Application.DisplayAlerts = True
End Sub