First, you could use an Action Button.
Did you make your command button using the Control Toolbox?
Also, go into VBA and check your references (Tools - References) and see if you have the lastest version (in order) Visual Basic for Applications, Microsoft PowerPoint 9.0 Object Lib, Ole Automation, Microsoft Office 9.0 Object lib, and Microsoft Forms 2.0 Object lib. If a library is missing, some of the ActiveX controls don't work.
i check the refernces and everything is there, only the version of Microsoft PowerPoint Object library and Microsoft Office Object Library are version 10.0 instead of 9.0.
And you're using this code which works: (the number 1 is an example)
Private Sub CommandButton1_Click()
With SlideShowWindows(1).View
.GotoSlide 1
End With
End Sub
The only other thing I can think of, is that you created it on one machine and then ran it on another and it has different library versions. That happens to me and it drives me nuts.
Well, if it's not a busy slide, delete it and recreate it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.