PowerPoint 2010 Keyboard Shortcut - GO TO specific slide while editing a presentation

While a person is editing a slide, what is the keyboard shortcut to navigate to a particular slide.  F5 does not work, CTRL G doesn't work.
When I'm on slide 2, I want to go to slide 33.  How to do it quickly?
brothertruffle880Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rgonzo1971Commented:
Hi,

There's no such function in Powerpoint

pls try this macro

Sub GoToMacro()
Set f = ActivePresentation
Result = InputBox("Enter the number of the slide", "Go To Slide #")
Do While Result <> ""
    If IsNumeric(Result) Then
        If Result >= 1 And Result <= ActivePresentation.Slides.Count Then
            ActivePresentation.Slides.Item(CDbl(Result)).Select
            Exit Do
        Else
        MsgBox "Please enter a number between 1 and " & ActivePresentation.Slides.Count
        End If
    Else
    MsgBox "Please enter a number"
    End If
Result = InputBox("Enter the number of the slide", "Go To Slide #")
Loop
End Sub

Open in new window

Regards
0
brothertruffle880Author Commented:
Hi  Rgonzo1971
What kind of variable should "f"  be declared as?

One more question:  What does  CDbl mean in the context below?

ActivePresentation.Slides.Item(CDbl(Result)).Select
0
Rgonzo1971Commented:
Hi,

You do not need the f, It was for my use

I've Changed CDbl into CLng because Result is a string and you want a numeric index

Sub GoToMacro()
Result = InputBox("Enter the number of the slide", "Go To Slide #")
Do While Result <> ""
    If IsNumeric(Result) Then
        If Result >= 1 And Result <= ActivePresentation.Slides.Count Then
            ActivePresentation.Slides.Item(CLng(Result)).Select
            Exit Do
        Else
        MsgBox "Please enter a number between 1 and " & ActivePresentation.Slides.Count
        End If
    Else
    MsgBox "Please enter a number"
    End If
Result = InputBox("Enter the number of the slide", "Go To Slide #")
Loop
End Sub 

Open in new window

Regards
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JSRWilsonCommented:
Probably the quickest way is to switch to slide sorter view and double click the slide needed.

If you are using code you should check that the number is valid

Sub gotoslide()
Dim strNum As String
Do
strNum = InputBox("Slide to select.")
Loop Until IsNumeric(strNum) And CLng(strNum) > 0 And _
CLng(strNum) <= ActivePresentation.Slides.Count
ActivePresentation.Slides(CLng(strNum)).Select
End Sub
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft PowerPoint

From novice to tech pro — start learning today.