firechinwessel
New Member
- Joined
- Jul 29, 2011
- Messages
- 7
I am trying to write a code that would allow me to click a button so that it would automatically send me to a specific slide from a specific powerpoint presentation. I cannot for the life of me figure out how to get it. Here is what I have so far...
Private Sub cmdOne_Click()
Set PPapp = GetObject(, "PowerPoint.Application")
Set PPres = PPapp.ActivePresentation
With PPapp
.Activate
End With
End Sub
Is there any way to do this? Also, I am writing this code with the intent of being able to quickly find one slide out of 300 so that I can make another presentation. If anyone knows how to be able to directly take one slide from a template and put it into a brand new presentation without ever having to open the template presentation, that would be awesome as well. But priority one for me is being able to find a specific slide.
I am still new to visual basic programming in general so any tips or advice on how to get this to work would be greatly appreciated.
Thanks!
Private Sub cmdOne_Click()
Set PPapp = GetObject(, "PowerPoint.Application")
Set PPres = PPapp.ActivePresentation
With PPapp
.Activate
End With
End Sub
Is there any way to do this? Also, I am writing this code with the intent of being able to quickly find one slide out of 300 so that I can make another presentation. If anyone knows how to be able to directly take one slide from a template and put it into a brand new presentation without ever having to open the template presentation, that would be awesome as well. But priority one for me is being able to find a specific slide.
I am still new to visual basic programming in general so any tips or advice on how to get this to work would be greatly appreciated.
Thanks!