Printing to PDF

nickfinity

New Member
Joined
Feb 9, 2010
Messages
19
I've got a macro that loops through the charts on a sheet and exports them to jpg. That works, but for my purposes jpg quality probably won't cut it. So I've set it up to print to PDF. I've got it working so I have one chart on a page. That's what I want, but the issue is that the chart only takes up maybe half the size of the page. I'd like to fit the page size to the size of the chart. Is there a way to do this?

Thanks for any help, I sincerely appreciate it.

Nick
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Thanks for the help. I should have specified, but I'm using Excel 2007. I found the scaling option, but does that work when I'm trying to print just the chart? If I could use scaling would there be a way to automatically figure out what it should be to fit one page?

Thanks,
Nick
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,535
Members
449,037
Latest member
tmmotairi

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