How can I specify a particular presentation when several are open at once?

C

Colleyville Alan

I am trying to get my app to end up with a particular view. It is run from
Access and uses automation and hyperlinks to pull copies of slides from
various ppt files into one template and when it is done, saves the template
under a unique name. But I'd like the user to end up looking at the ppt
file that was the template, on slide #1.

So getting to slide #1 I use:
oPPT.ActiveWindow.View.GotoSlide (1)

BUT, how do I get that particular presentation to be active? I tried this:
oPPT.Windows(presCount).Activate

where the variable presCount was initialized when the template file was open
(set to the oPPT.Presentations.Count property. I was thinking that the last
file I opened would be identified with a window having the same index as the
presentations.count, but that has not worked out).

Thanks
 
D

David M. Marcovitz

I posted this response last night from the Web, but it's not showing up
in my newsreader this morning. Apologies if this is a repeat.

Have you tried oPPT.Presentations(presCount)?
--David

--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top