Hello,
I have a problem with the ExportAsFixedFormat function, once I want to export a certain cell length to a PDF I get a PDF of 20 pages with minimal content. This is the code I am using:
ActiveSheet.Range("B1:F47").ExportAsFixedFormat Type:=xlTypePDF, Filename:=FolderPath & "/" & pdfname & ".pdf", Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=True
Does anyone know what this problem is and how I fix it?
Translated with DeepL.com (free version)
I have a problem with the ExportAsFixedFormat function, once I want to export a certain cell length to a PDF I get a PDF of 20 pages with minimal content. This is the code I am using:
ActiveSheet.Range("B1:F47").ExportAsFixedFormat Type:=xlTypePDF, Filename:=FolderPath & "/" & pdfname & ".pdf", Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=True
Does anyone know what this problem is and how I fix it?
Translated with DeepL.com (free version)