Copy Data from Excel to Powerpoint in VBA?

newcoder

New Member
Joined
Jul 1, 2011
Messages
15
Hello
I have been working most of the day trying to get Excel to talk to PowerPoint. I am on Version 2007..

What I want to do is run a macro in Excel, have that macro copy a few columns then .COPY so it will be in the clip board.
I then want to switch to PowerPoint and Paste-Special as a Windows Meta File.

Does anyone have a short code snipit perhaps they could share?

cheers
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Thank you very much.........
If was able to find the code and actually get it to work!!

thanks...

I do have one question on it and I hope someone can help.:confused:

I would like to upload the code snippet, but I don't know how to do that without pasting it all a inline text and I don't think that is what you are suppose to do.

The section I need help with is:
ActiveSheet.ChartObjects(iCht).Chart.CopyPicture _
Appearance:=xlScreen, Size:=xlScreen, Format:=xlPicture

This copies chart by chart. I actually have 4 charts on the page and just want to copy all of them, not iCht.

Is there a way to do a select ALL then CopyPicture?

cheers
 
Upvote 0

Forum statistics

Threads
1,215,443
Messages
6,124,890
Members
449,194
Latest member
JayEggleton

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