N
Naveen Sukhramani
I wrote this code to activate a powerpoint file (as a slideshow) and
quit powerpoint after the show is through and return to excel.
The problem: Within secs of opening the file in powerpoint it quits
(without running running the entire slideshow.
Sub myShow()
Dim zPPT As PowerPoint.Application
Dim zPres As PowerPoint.Presentation
Set zPPT = CreateObject("Powerpoint.Application")
zPPT.Visible = msoTrue
Set zPres = zPPT.Presentations.Open("prezex.ppt")
zPres.SlideShowSettings.Run
zPPT.Quit
End Sub
xxxxxxxxxxxxxxxxxxxx
Could someone help?
Thanks,
Naveen
quit powerpoint after the show is through and return to excel.
The problem: Within secs of opening the file in powerpoint it quits
(without running running the entire slideshow.
Sub myShow()
Dim zPPT As PowerPoint.Application
Dim zPres As PowerPoint.Presentation
Set zPPT = CreateObject("Powerpoint.Application")
zPPT.Visible = msoTrue
Set zPres = zPPT.Presentations.Open("prezex.ppt")
zPres.SlideShowSettings.Run
zPPT.Quit
End Sub
xxxxxxxxxxxxxxxxxxxx
Could someone help?
Thanks,
Naveen