Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello All
I have a macro in Excel starting PowerPoint, running a slideshow, then shutting down PowerPoint. It's working OK except I'm currently shutting down PowerPoint based on time. What I would really like to do is detect when the slideshow is over and end PowerPoint that way. I've done lots of searching but I just can't seem to find the code I'm looking for. Any assistance would be much appreciated, Paul my code Sub SlideShow() Dim ppApp As PowerPoint.Application Set ppApp = CreateObject("Powerpoint.Application") ppApp.Visible = True Dim ppPres As PowerPoint.Presentation Set ppPres = ppApp.Presentations.Open("C:\SlideShow.pps") Sleep (15000) ppApp.Quit Application.Run "ReturntoExcel" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Detecting version of Excel being used | Excel Discussion (Misc queries) | |||
Excel not detecting that a file is currently being edited | Excel Discussion (Misc queries) | |||
Call up Powerpoint using Excel 2002 | Excel Programming | |||
Detecting Applications Run using Excel | Excel Programming | |||
Detecting Excel 97 using VBA | Excel Programming |