Com:
Estaversãoatenderáatodasassuasmetas:
Subpdff()DimsAsString,ary,a,shAsWorksheetSetsh=ActiveSheets=Sheets("Sheet1").Range("B10").Text
ary = Split(s, ",")
For Each a In ary
Sheets(a).Select
Sheets(a).Activate
Sheets(a).Range(ActiveSheet.PageSetup.PrintArea).Select
Next a
ThisWorkbook.Sheets(ary).Select
Selection.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"C:\Users\Damon\Desktop\pdfmaker.pdf", Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
True
sh.Select
End Sub
Apenas certifique-se de ter uma Folha1 , bem como as folhas E1 .