Consulting

Results 1 to 2 of 2

Thread: selecting slide in slideshow

  1. #1

    selecting slide in slideshow

    I was wondering if there was a way to view a slide within a slideshow. I can get this to work with using GoTo slide, but I wanted to use the slideId in order to ensure that it always works even if the slides move around. Any suggestions on this? I also would like to know if there is any code that will undo any changes that were made and goback to the previous viewed slide on a click.

    I don't know if I am making this too complicated, but all I am trying to do is have a link that will go to a slide and highlight a portion of that slide and after discussion a click would return me to the original slide. Then the next link would goback to the other slide and highlight a different portion of the slide and then return to the original slide and so on .........

    Thanks in advance,
    Sly

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    Hi

    You can find the slideID of a selected slide with

    Sub findID()
    With ActiveWindow.Selection.SlideRange
    MsgBox .SlideID
    End With
    End Sub

    To use this ID in a goto try

    Sub gotoit()
    target = ActivePresentation.Slides.FindBySlideID(258).SlideIndex
    ActivePresentation.SlideShowWindow.View.GotoSlide (target)
    End Sub

    John Wilson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •