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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

PowerPoint Help needed with VB 1
Shape Arrays VBA 0
David Marcovitz's Randomizing Slides Code 3
Help with a macro 1
Macros stop suddenly? 3
Print all slides during slide show 3
Macro only works 3 times in PPT2003 1
printing macro 3

Back
Top