Navigation Using FindBySlideID Method
Apologies if this question seems too easy but I'm truly new to VBA.
How can I use the FindBySlideID method to navigate from a shape that has been clicked on to another slide?
I've tried the Microsoft help but it seems to be used for another purpose.
If the FindBySlideID method is not appropriate for this purpose, how can I direct the powerpoint user to the appropriate slide on clicking the shape?
Thanks!
Navigation Using FindBySlideID Method
Thanks for responding!
Actually, I was hoping to have the user click on a shape that represents one of the answers to a question. The action setting will then be activated to run a sub that will navigate to the specific slide and at the same time activate a scoring variable.
Am I making life too difficult for myself? Should I just do a sub for scoring and use the hyperlink method you suggested for navigational purposes?
Appreciate your taking the time to respond to a novice's query.
Navigation Using FindBySlideID Method
Guess that's what it has to be then! :(
I was actually thinking of using the slideid for navigational purposes as it seems to be a constant for a specific slide in contrast to the slide index which changes with its position. Guess I will have to give meaningful names to the slides and then use the names for navigational references.
Thanks for the input.
Navigation Using FindBySlideID Method
Appreciate the help but wonder how to use suggested code in a sub so that when a textbox is clicked the action setting will navigate to, say, SlideID 4?
[vba] Sub GotoUsingSlideID3()
'
' Macro created 01/04/2006 by David Tay
'
ActiveWindow.View.GotoSlide ActivePresentation.Slides.FindBySlideID("256").SlideIndex
End Sub [/vba]
What does ("256") in FindBySlideID mean?
Here's hoping you aren't too busy!
Thanks,
David