View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Andy Pope Andy Pope is offline
external usenet poster
 
Posts: 2,489
Default open powerpoint using visual basic in excel

Hi,

Some very simple code to get you started.

Sub OpenPPT()

Dim objPPT As Object
Dim objPres As Object

Set objPPT = CreateObject("PowerPoint.Application")
objPPT.Visible = True
Set objPres = objPPT.presentations.Open("C:\test.ppt")

End Sub

Cheers
Andy

msrxlaje wrote:
I am trying to open a PowerPoint presentation using a macro built in Excel.
Is it possible to do this??


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info