TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Office > Microsoft Office Powerpoint

RE: Action Buttons won’t run Macros

Microsoft Office Powerpoint

 
 
Thread Tools Display Modes
Unread 17-01-2008, 06:34 AM   #1
shihhua123
Guest
 
Posts: n/a
RE: Action Buttons won’t run Macros

This is what causing me trouble all the time. Some codes will not function
properly in slideshow by recording macro from editing ppt. Try using
ActivePresentation or SlideShowWindows instead of ActiveWindow. You will get
error while debuggging in vba. But it will run in the slideshow. Check help
for more detail of using them. Good luck!

"Zebu" wrote:

> Can’t get macros to run in slide show by action button from Autoshapes or
> Control Toolbox or check box. Is there another way?
>
> Code generated by ppt from "Record Macro":
> Sub MacroA()
> '
> ' Macro recorded 8/20/2006 by Donandme
> '
> ActiveWindow.View.GotoSlide Index:=3
> ActiveWindow.Selection.SlideRange.Shapes.SelectAll
> ActiveWindow.Selection.Copy
> ActiveWindow.View.GotoSlide Index:=2
> ActiveWindow.View.Paste
> End Sub
>
> Public Sub from_slide()
>
> End Sub
> --
> Zebu
>
>
> "John Wilson" wrote:
>
> > Are you sure the macro will run in slide show mode? What does the code look
> > like?--
> > _____________________________
> > John Wilson
> > Microsoft Certified Office Specialist
> > http://www.technologytrish.co.uk/ppttipshome.html
> >
> >
> > "Zebu" wrote:
> >
> > > I cannot get Action Buttons ti run macros. In a presentation, I have macros
> > > that run from Tools > Macros > ‘macro name’ > run.
> > >
> > > I create an action button by:
> > > Save Presentation
> > > AutoShapes > Action Buttons > select any button
> > > Select Action setting
> > > OK
> > > Save Presentation
> > > Go to slide show from Slide Show menu or lower left corner
> > > Press new Action Button
> > >
> > > If action is link to another slide or run a programm it works. If action is
> > > run macro, nothing happens.
> > >
> > > What am I doing wrong?
> > >
> > > --
> > > Zebu

 
 

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 07:30 AM.


vBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2013, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional