I'm pretty new to VBA. I have a summary page named "Summary" and then 60 pages named "Pg (1)", "Pg (2)" ...etc.
I want the user to select multiple pages and then press a button to export the selected pages to a pdf. The only code I have at the moment is
    Sub PDFSummary()
    Sheets("Summary").Select
    Sheets("Summary").Activate
    
    ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
        sFileName, Quality:=xlQualityStandard, IncludeDocProperties:=True, _
        IgnorePrintAreas:=False, OpenAfterPublish:=True
        
    Sheets("Summary").Select
     
End Sub
This only creates the PDF for the summary page at the moment though.
 
    