• PowerPoint and AdvanceOn (VBA/PPT/2002)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » PowerPoint and AdvanceOn (VBA/PPT/2002)

    Author
    Topic
    #364895

    I want to create a presentation that when I get to a stopping point for an exercise/activity that I will leave the current slide up and in x minutes the next slide will show and a sound will play. I think I need to use the AdvanceOn feature. I found this block of code in the online help.

    With ActivePresentation.Slides(2).SlideShowTransition
    .AdvanceOnTime = True
    .AdvanceTime = 5
    .SoundEffect.ImportFromFile “c:windowsmediadogbark.wav”
    End With
    ActivePresentation.SlideShowSettings.AdvanceMode = _
    ppSlideShowUseSlideTimings

    I have never done this tpye of code before. The above doesn’t include the Sub procedure. I added a module to the code window, but I don’t know if that was the correct way to go.

    Any and all help would be appreciated. Thank You. Fay

    Reply To: PowerPoint and AdvanceOn (VBA/PPT/2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: