macro for next slide

L

lsy

I have a flash object in my ppt slide, i just notice the flash object is
unable to set the "Action Setting" so i want to add a macro to flash object
to call show next slide.
i never write a macro before, pls advice...
thanks.
 
S

Shyam Pillai

Isy,
This macro will take you to the next slide during slideshow.

Sub NextSlide()
On Error Resume Next
With SlideShowWindows(1).View
.GotoSlide .CurrentShowPosition + 1
End With
End Sub
 
L

lsy

Thanks for both feedback...
but i still have something need to trouble you both.... i really dumb on
this macros things...
mind to tell me where should i put this macros to?
i double click the flash object it go in to a VB source file... should i put
the code inside the "Private Sub ShockwaveFlash1_OnReadyStateChange(ByVal
newState As Long)" this function or need to create another function??
i'm so sorry about that??
do you know any website can learn of this kind of macro?
thanks in advanced...
 
S

Shyam Pillai

If you want the macro to fire when the user clicks on the flash control then
you need to setup it up in the SWF to fire an FSCommand event. You can then
call the macro when that event fires.
 
Top