If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Open presentation in slideshow view, from Access via VBA
I've got an Access application I'm developing to control a Powerpoint
presentation. I've figured out how to open PPT, select a presentation, and view that presentation in design view, but have not figured out how to switch the view to SlideShow. Assuming I have application (oPPT) and presentation (oPres) objects, what VBA do I need to change the view of PPT from design view to slideshow view. ---- Dale |
#2
|
|||
|
|||
Open presentation in slideshow view, from Access via VBA
Hi dale
Does oPres.SlideShowSettings.Run do it? -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Dale Fye" wrote: I've got an Access application I'm developing to control a Powerpoint presentation. I've figured out how to open PPT, select a presentation, and view that presentation in design view, but have not figured out how to switch the view to SlideShow. Assuming I have application (oPPT) and presentation (oPres) objects, what VBA do I need to change the view of PPT from design view to slideshow view. ---- Dale |
#3
|
|||
|
|||
Open presentation in slideshow view, from Access via VBA
John,
Yes, but now the line in my code which selects which slide to display in the design view (see below) is generating an error. oPres.Slides(mlngSlideIndex + 1).Select Runtime error -2147188160 (80048240) Slide (unknown member): invalid request. This view does not support selection Which generates several new questions. 1. How do I determine whether the presentation is showing in design or slide show view? 2.. How do I close the slideshow view? 3. How do I manipulate the slide that is shown in the slideshow? ---- Dale "John Wilson" wrote: Hi dale Does oPres.SlideShowSettings.Run do it? -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Dale Fye" wrote: I've got an Access application I'm developing to control a Powerpoint presentation. I've figured out how to open PPT, select a presentation, and view that presentation in design view, but have not figured out how to switch the view to SlideShow. Assuming I have application (oPPT) and presentation (oPres) objects, what VBA do I need to change the view of PPT from design view to slideshow view. ---- Dale |
#4
|
|||
|
|||
Open presentation in slideshow view, from Access via VBA
OK, I figured out that I could create a SlideShowWindow object (oSSW) from
the .Run command. And when this error comes up, I've got an error handler that uses: oSSW.view.gotoslide ## But is there a more elegant way to determine this? I still have not figured out how to close the SlideShowWindow via code. ---- Dale "Dale Fye" wrote: John, Yes, but now the line in my code which selects which slide to display in the design view (see below) is generating an error. oPres.Slides(mlngSlideIndex + 1).Select Runtime error -2147188160 (80048240) Slide (unknown member): invalid request. This view does not support selection Which generates several new questions. 1. How do I determine whether the presentation is showing in design or slide show view? 2.. How do I close the slideshow view? 3. How do I manipulate the slide that is shown in the slideshow? ---- Dale "John Wilson" wrote: Hi dale Does oPres.SlideShowSettings.Run do it? -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Dale Fye" wrote: I've got an Access application I'm developing to control a Powerpoint presentation. I've figured out how to open PPT, select a presentation, and view that presentation in design view, but have not figured out how to switch the view to SlideShow. Assuming I have application (oPPT) and presentation (oPres) objects, what VBA do I need to change the view of PPT from design view to slideshow view. ---- Dale |
#5
|
|||
|
|||
Open presentation in slideshow view, from Access via VBA
You cannot SELECT anything in slide show view
SlideShowWindows(1).View.Exit SlideShowWindows(1).View.GotoSlide(x) -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Dale Fye" wrote: OK, I figured out that I could create a SlideShowWindow object (oSSW) from the .Run command. And when this error comes up, I've got an error handler that uses: oSSW.view.gotoslide ## But is there a more elegant way to determine this? I still have not figured out how to close the SlideShowWindow via code. ---- Dale "Dale Fye" wrote: John, Yes, but now the line in my code which selects which slide to display in the design view (see below) is generating an error. oPres.Slides(mlngSlideIndex + 1).Select Runtime error -2147188160 (80048240) Slide (unknown member): invalid request. This view does not support selection Which generates several new questions. 1. How do I determine whether the presentation is showing in design or slide show view? 2.. How do I close the slideshow view? 3. How do I manipulate the slide that is shown in the slideshow? ---- Dale "John Wilson" wrote: Hi dale Does oPres.SlideShowSettings.Run do it? -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Dale Fye" wrote: I've got an Access application I'm developing to control a Powerpoint presentation. I've figured out how to open PPT, select a presentation, and view that presentation in design view, but have not figured out how to switch the view to SlideShow. Assuming I have application (oPPT) and presentation (oPres) objects, what VBA do I need to change the view of PPT from design view to slideshow view. ---- Dale |
#6
|
|||
|
|||
Open presentation in slideshow view, from Access via VBA
Thanks, John
---- HTH Dale "John Wilson" wrote: You cannot SELECT anything in slide show view SlideShowWindows(1).View.Exit SlideShowWindows(1).View.GotoSlide(x) -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Dale Fye" wrote: OK, I figured out that I could create a SlideShowWindow object (oSSW) from the .Run command. And when this error comes up, I've got an error handler that uses: oSSW.view.gotoslide ## But is there a more elegant way to determine this? I still have not figured out how to close the SlideShowWindow via code. ---- Dale "Dale Fye" wrote: John, Yes, but now the line in my code which selects which slide to display in the design view (see below) is generating an error. oPres.Slides(mlngSlideIndex + 1).Select Runtime error -2147188160 (80048240) Slide (unknown member): invalid request. This view does not support selection Which generates several new questions. 1. How do I determine whether the presentation is showing in design or slide show view? 2.. How do I close the slideshow view? 3. How do I manipulate the slide that is shown in the slideshow? ---- Dale "John Wilson" wrote: Hi dale Does oPres.SlideShowSettings.Run do it? -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Dale Fye" wrote: I've got an Access application I'm developing to control a Powerpoint presentation. I've figured out how to open PPT, select a presentation, and view that presentation in design view, but have not figured out how to switch the view to SlideShow. Assuming I have application (oPPT) and presentation (oPres) objects, what VBA do I need to change the view of PPT from design view to slideshow view. ---- Dale |
Thread Tools | |
Display Modes | |
|
|