i m a freshman,help me pls

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

anybody know what's the command in visual basic if i want to use a command
button on a slide to go to another slide?(for example,i click the button on
slide3 then it return to slide2.)or u have others useful n basics,pls let me
teach me,thx so much...
 
anybody know what's the command in visual basic if i want to use a command
button on a slide to go to another slide?(for example,i click the button on
slide3 then it return to slide2.)or u have others useful n basics,pls let me
teach me,thx so much...

You do know that you can do this w/o VBA, right?
Add a command button, give it an action setting of Hyperlink To: Slide, choose
slide 2 and you're good to go.

If you need to go to e.g. slide 2 via VBA during a slide show:

Sub GoToTwo()
SlideShowWindows(1).View.GoToSlide(2)
End Sub

Then assign the command button's Action Setting to run macro: GoToTwo
 
Back
Top