Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
open powerpoint using visual basic in excel
I am trying to open a PowerPoint presentation using a macro built in Excel.
Is it possible to do this?? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Trying to open Excel From Visual Basic 2005 | Excel Worksheet Functions | |||
excel sheet with visual basic doesn't open | Excel Programming | |||
Can I run Visual Basic procedure using Excel Visual Basic editor? | Excel Programming | |||
Unable to open Excel Help and Visual Basic Help | Excel Discussion (Misc queries) | |||
Possible to automate Powerpoint from within Excel of Visual Basic? | Excel Programming |