If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Using Slide ID in VBA to hyperlink to a slide
I cannot figure out how to use Slide ID to hyperlink to a slide instead of
using the slide's number. Can someone tell me how to change this: ActivePresentation.SlideShowWindow.View.GotoSlide (2) into a hyperlink by using the slide's ID (262)? Thank you! |
#2
|
|||
|
|||
Using Slide ID in VBA to hyperlink to a slide
You will need to use the FindBySlideID method
SlideIndex=ActivePresentation.Slides.FindBySlideID (262) ActivePresentation.SlideShowWindow.View.GotoSlide (SlideIndex) -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Pendrome" wrote: I cannot figure out how to use Slide ID to hyperlink to a slide instead of using the slide's number. Can someone tell me how to change this: ActivePresentation.SlideShowWindow.View.GotoSlide (2) into a hyperlink by using the slide's ID (262)? Thank you! |
#3
|
|||
|
|||
Using Slide ID in VBA to hyperlink to a slide
Does this mean I just enter the last line of code or both?
"John Wilson" wrote: You will need to use the FindBySlideID method SlideIndex=ActivePresentation.Slides.FindBySlideID (262) ActivePresentation.SlideShowWindow.View.GotoSlide (SlideIndex) -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Pendrome" wrote: I cannot figure out how to use Slide ID to hyperlink to a slide instead of using the slide's number. Can someone tell me how to change this: ActivePresentation.SlideShowWindow.View.GotoSlide (2) into a hyperlink by using the slide's ID (262)? Thank you! |
#4
|
|||
|
|||
Using Slide ID in VBA to hyperlink to a slide
You need both for it to work, but you could combine it into one messy line
if you wanted to. Watch for line breaks in your display, the area between the lines is one line of code ----- ActivePresentation.SlideShowWindow.View.GotoSlide (ActivePresentation.Slides.FindBySlideID(262)) ----- Bill D. "Pendrome" wrote in message ... Does this mean I just enter the last line of code or both? "John Wilson" wrote: You will need to use the FindBySlideID method SlideIndex=ActivePresentation.Slides.FindBySlideID (262) ActivePresentation.SlideShowWindow.View.GotoSlide (SlideIndex) -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Pendrome" wrote: I cannot figure out how to use Slide ID to hyperlink to a slide instead of using the slide's number. Can someone tell me how to change this: ActivePresentation.SlideShowWindow.View.GotoSlide (2) into a hyperlink by using the slide's ID (262)? Thank you! |
Thread Tools | |
Display Modes | |
|
|