How can I send my presentation to a certain slide according to what was typed in an inputbox?
I need something like:
[VBA]
Presentation.GoToSlide(65)
[/VBA]
How can I send my presentation to a certain slide according to what was typed in an inputbox?
I need something like:
[VBA]
Presentation.GoToSlide(65)
[/VBA]
Best Regards,
Carlos Paleo.
To every problem there is a solution, even if I dont know it, so this posting is provided "AS IS" with no warranties.
If Debugging is harder than writing a program and your code is as good as you can possibly make
it, then by definition you're not smart enough to debug it.
http://www.mugrs.org
[vba]
ActivePresentation.Slides(SlideNumber).Select
[/vba]
SlideNumber can be a number you get from an Input Box.
Great Jake,
thats exactly what I needed! Thanks!!
Best Regards,
Carlos Paleo.
To every problem there is a solution, even if I dont know it, so this posting is provided "AS IS" with no warranties.
If Debugging is harder than writing a program and your code is as good as you can possibly make
it, then by definition you're not smart enough to debug it.
http://www.mugrs.org
FYI there is a GoToSlide function in PowerPoint as part of the View object
[VBA]Application.ActiveWindow.View.GotoSlide _
(InputBox("Enter slide number", "Go to slide..."))[/VBA]
K :-)
Gee, great Killian,
thanks.
Best Regards,
Carlos Paleo.
To every problem there is a solution, even if I dont know it, so this posting is provided "AS IS" with no warranties.
If Debugging is harder than writing a program and your code is as good as you can possibly make
it, then by definition you're not smart enough to debug it.
http://www.mugrs.org