View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Duncan_J Duncan_J is offline
external usenet poster
 
Posts: 46
Default excel VBA for auto open PowerPoint

Ron, I did test yours and yours works as well
Thanks again

"Ron de Bruin" wrote:

Hi Duncan

Try this

Dim pwp As Object
Set pwp = CreateObject("PowerPoint.Application")
pwp.Visible = True
pwp.presentations.Open Filename:="c:\test.ppt"


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Duncan_J" wrote in message ...
I know it can be done. I had the code once. Anyway, I can copy and paste
excel to Powerpoint with an excel macro.. But I want the powerpoint to launch
from excel as if you clicked on the PPT icon...
Any ideas...
Thanks
DJ