Copy several charts to pdf vba

adde86

New Member
Joined
Dec 21, 2017
Messages
2
Hi,

I have one worksheet with several charts in it. I want to copy some of these specific charts into one pdf using vba.
Is it possible?
It would also be great if it is also possible to post two charts next to each other in that same pdf.

Thanks
Andreas
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
What you can do is export a worksheet as a pdf page. Also you can make charts visible or invisible. If they are invisible then they won't appear in the pdf

No doubt you could move one or more charts so they were next to each other.

If you want help with the code you'll obviously need to provide far more information
 
Upvote 0
Thanks for answer.
Sheet is called "Grafer" and I want to copy Chart 1-3 to a pdf. And I also want to copy range AO36:BA64 which is text into the same pdf.
And the pdf should be visible after publishing. I have managed to just copy the printarea into the pdf but the charts didn´t work.
Do you need more info?
 
Upvote 0
I would suggest you write a macro that creates a temporary Worksheet, copies the text range and the 3 charts and pastes these where you want them in the temporary sheet. Then saveas pdf and then delete the sheet
 
Upvote 0

Forum statistics

Threads
1,214,851
Messages
6,121,931
Members
449,056
Latest member
denissimo

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