Macro's not workin

A

Ace Thunder

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
 
C

Christopher King

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
 
J

John Wilson

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.
 
A

Ace Thunder

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"
 
D

David M. Marcovitz

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

Top