View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
[email protected] got.sp4m@googlemail.com is offline
external usenet poster
 
Posts: 10
Default Pasting to Powerpoint

On Feb 13, 4:24*am, Brad wrote:
I need to find some examples of code on how to paste an excel page into
powerpoint. What I have is an excel workbook with 8 pages, I would like to
"press a button" and create a powerpoint presentation with 8 slides (1 excel
page per slide) Any suggestions?


Here's a copy of a library I wrote a while ago for using powerpoint
from Excel via VBA.
http://drop.io/PowerPointLib

Just import it into your project and set references (the code uses
early binding) to the libraries mention in the top of the module. I'm
not sure if I will provide you any support on this but you should have
plenty of examples to get you started.. Tested using Win2k +
Office2k3.

If it's just Excel range's you want to copy to Powerpoint you should
have a look at the functions starting with "PPlib_PasteTable*".

best regards
Peder Schmedling