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?? |
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 |
All times are GMT +1. The time now is 12:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com