Macro's not workin

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

Guest

I have put this into powerpoint and this nor any other macro i create works.
HELP please. ICT student needs your help

Sub slide17yes()
ActivePresentation.PrintOut From:=34, To:=34
ActivePresentation.SlideShowWindow.View.GotoSlide (51)
End Sub
 
Ace,
The printout part worked for me. Here is some code from the help file
for running the slide show.

With ActivePresentation.SlideShowSettings
.RangeType = ppShowSlideRange
.StartingSlide = 2
.EndingSlide = 4
.Run
End With

Hope that helps.

Chris
 
Did you check that macro security was medium or lower?
Are you running the macro by giving the textbox an action setting of run
macro " slide17yes"?

The macro code is fine.
 
yeah, i did all of that i made a textbox and gave both the actual box and the
words the action setting "Run Macro" then chose the "slide17yes" option. I
have also altered the macro security settings to "low"
 
After you alter the macro security settings to low (medium is OK too),
you have to close the PowerPoint and reopen it. If you opened the
PowerPoint with High security, it will not run macros until it is opened
again with Low or Medium.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
Back
Top