A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Open presentation in slideshow view, from Access via VBA



 
 
Thread Tools Display Modes
  #1  
Old November 18th, 2009, 02:56 PM posted to microsoft.public.powerpoint
Dale Fye
external usenet poster
 
Posts: 2,651
Default 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  
Old November 18th, 2009, 03:13 PM posted to microsoft.public.powerpoint
John Wilson
external usenet poster
 
Posts: 6,023
Default 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  
Old November 18th, 2009, 04:52 PM posted to microsoft.public.powerpoint
Dale Fye
external usenet poster
 
Posts: 2,651
Default 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  
Old November 18th, 2009, 05:36 PM posted to microsoft.public.powerpoint
Dale Fye
external usenet poster
 
Posts: 2,651
Default 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  
Old November 18th, 2009, 05:56 PM posted to microsoft.public.powerpoint
John Wilson
external usenet poster
 
Posts: 6,023
Default 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  
Old November 18th, 2009, 10:13 PM posted to microsoft.public.powerpoint
Dale Fye
external usenet poster
 
Posts: 2,651
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.