ExportAsFixedFormat creates PDF with correct dimensions but wrong size

cheswick

New Member
Joined
Mar 16, 2012
Messages
4
I'm using VBA to create a series of PDF files with exportAsFixedFormat to PDF. The page layout size is set to letter size (8.5 x 11) but the resulting PDF files are dimension of 17.35 x 22.45 which is the same aspect ration as 8.5 x 11 but not the correct size (I combine these with other pdf files so I need it in actual 8.5 x 11). Anyone have any insight? I've tried the scale content check box in options and it doesn't make a difference. Oddly if I use the print to pdf option from the file menu, the result is the correct page size. I'd prefer to use exportasfixedformat as I can more easily assign the filenames.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
It might have to do with the printer settings you are using.
You might be best to post all the VBA code you are using.
 
Upvote 0

Forum statistics

Threads
1,215,165
Messages
6,123,391
Members
449,098
Latest member
ArturS75

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top