Hi All,
Print Preview displays correctly - ie. page breaks are where I want them and whichever printer I select the output works as expected. However when I use the following code the resultant PDF file is ignoring the page breaks despite the IgnorePrintAreas being set to False
I have tried setting different default printers including CutePDF and BullZip PDF printers as well as other physical printers but alas no joy... the resultant output has page breaks in the wrong place.
I am running Excel 2010...
Ideas anyone ?
Print Preview displays correctly - ie. page breaks are where I want them and whichever printer I select the output works as expected. However when I use the following code the resultant PDF file is ignoring the page breaks despite the IgnorePrintAreas being set to False
Code:
ActiveSheet.ExportAsFixedFormat _
Type:=xlTypePDF, _
Filename:=FilenamePath, _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
I have tried setting different default printers including CutePDF and BullZip PDF printers as well as other physical printers but alas no joy... the resultant output has page breaks in the wrong place.
I am running Excel 2010...
Ideas anyone ?