I am trying to set the quality of PDF output to xlQualityMinimum so the PDF size is smaller, however when I change from xlQualityStandard to xlQualityMinimum the output PDF ignores the margins and prints outside of the specified areas.
ActiveWorkbook.ExportAsFixedFormat Type:=xlTypePDF, Filename:=sPDF, Quality:=xlQualityMinimum, From:=1, To:=iLast, _ IncludeDocProperties:=False, IgnorePrintAreas:=False, OpenAfterPublish:=False
I tried changing all of the various ExportAsFixedFormat properties, but the issue remains with xlQualityMinimum. xlQualityStandard prints as expected and looks like Print Preview.