ShowSlideWindows(i)

K

K J Boland

Please could someone explain how the (i) of ShowSlideWindows works.

Someone here had suggested that the active presentation is always (1), but
this can not be as I am having problems with a macro which seeks to goback
to where it was sent from.

In the following Macro, the (1) which is written to file refers to the
second and not showing slideshow after the link has been followed once. It
therefore does not work correctly.

Any advice or links to a decent description of this much appreciated.

Sub RememberWhere()

SlideShowWindows(1).Activate

' Make the MOUSEOVER action of your navigation buttons run this
ReturnToSlide = SlideShowWindows(1).View.Slide.SlideIndex
ReturnName = SlideShowWindows(1).Presentation.Name

pString = ReturnToSlide & ":" & ReturnName
' Write it to a file

Open "c:\xxx.txt" For Output As 1
Print #1, pString
Close 1

End Sub
 
S

Shyam Pillai

The information you've received is correct. The top most slideshow window is
always number one, if you open a hyperlinked show, the new topmost slideshow
window becomes 1 and the original one gets pushed down a rung to 2. Are you
trying to get the slideshow window reference after the link has been
launched?


--
Regards,
Shyam Pillai

Animation Carbon
http://www.animationcarbon.com
 
K

K J Boland

In the attached code, this is lauched from a button (mouse over) in the
currently active presentation.
However, if I loop back for a second time, the reference saved to the file
from the button is the file which was just accessed and not the first.
 

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