I need to copy 4 worksheets from workbook A which contains 5 worksheets and create a new workbook B and paste the copied worksheets in the new workbook.
I have done it for one sheet. how can i ameliorate this code :
Sub test()
ThisWorkbook.Sheets.Copy
'Saving the new workbook B
ActiveWorkbook.SaveAs "C:\Users\John\B.xls", FileFormat:=18
End Sub