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
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