Hi,
Thanks!
Can I add multiple sheet names to the code as follows?
Dim appXL As Excel.Application
Dim wks As Excel.Workbook
Set appXL = CreateObject("Excel.Application")
Set wks = appXL.Workbooks.Open("C:\Users\SomeUser\Documents\YourExcelFile.xlsx")
appXL.Visible = True
With wks
.Worksheets("Sheet1").Select
.PrintOut Copies:=1
.Worksheets("Sheet2").Select
.PrintOut Copies:=1
.Worksheets("Sheet3").Select
.PrintOut Copies:=1
End With