Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / October 2007

Tip: Looking for answers? Try searching our database.

Macro Buttons in Presentations

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TikiTembo - 18 Oct 2007 19:55 GMT
I'm running PPT 2003, and was wondering if it's possible to create macro
buttons in presentations. For instance, I'd like a button that, when clicked,
runs the commands "left cursor" and "spacebar". Greatly appreciate the help!
:-)
John Wilson - 18 Oct 2007 20:15 GMT
Do you mean buttons that move to previous / next slide or something else?
Signature

Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk

> I'm running PPT 2003, and was wondering if it's possible to create macro
> buttons in presentations. For instance, I'd like a button that, when clicked,
> runs the commands "left cursor" and "spacebar". Greatly appreciate the help!
> :-)
TikiTembo - 18 Oct 2007 20:21 GMT
Hi John:

I'm looking to create a custom button that contains a custom macro instead
of the usual ones.

> Do you mean buttons that move to previous / next slide or something else?
>
> > I'm running PPT 2003, and was wondering if it's possible to create macro
> > buttons in presentations. For instance, I'd like a button that, when clicked,
> > runs the commands "left cursor" and "spacebar". Greatly appreciate the help!
> > :-)
John Wilson - 18 Oct 2007 20:26 GMT
But what would you like the macro to do?
Signature

Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk

> Hi John:
>
[quoted text clipped - 7 lines]
> > > runs the commands "left cursor" and "spacebar". Greatly appreciate the help!
> > > :-)
TikiTembo - 18 Oct 2007 20:31 GMT
I'd like the macro to run "backspace" followed by "spacebar" as a button
inserted into the PPT presentation.

> But what would you like the macro to do?
>
[quoted text clipped - 9 lines]
> > > > runs the commands "left cursor" and "spacebar". Greatly appreciate the help!
> > > > :-)
John Wilson - 18 Oct 2007 20:47 GMT
Macros on buttons will only run in a slide show. In a slideshow left cursor
followed by space would do nothing!

If you want the macro to run in edit mode you would need to write an add in
with command buttons.
Signature

Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk

> I'd like the macro to run "backspace" followed by "spacebar" as a button
> inserted into the PPT presentation.
[quoted text clipped - 12 lines]
> > > > > runs the commands "left cursor" and "spacebar". Greatly appreciate the help!
> > > > > :-)
spudmachine - 18 Oct 2007 21:27 GMT
Hi Tiki,
What John is trying to say is...if you are in slideshow mode and you press
<Backspace> followed by <Space> you will go back one slide, then forward one
slide.

There are other ways to do this with action settings, so is this what you
want to achieve?

Thus when John asked what you're trying to do he meant in the wider sense,
and not just what keys are you trying to emulate, so repeating the initial
question didn't really supply any additional information.

Are you, in fact, wanting to go back one slide and forward again?

Cheers,
Geoff

> I'm running PPT 2003, and was wondering if it's possible to create macro
> buttons in presentations. For instance, I'd like a button that, when
> clicked,
> runs the commands "left cursor" and "spacebar". Greatly appreciate the
> help!
> :-)
John Wilson - 19 Oct 2007 10:54 GMT
And if you simulate pressing those keys with a macro it will all happen in
microseconds so you see only a flash!
Signature

Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk

> Hi Tiki,
> What John is trying to say is...if you are in slideshow mode and you press
[quoted text clipped - 19 lines]
> > help!
> > :-)
TikiTembo - 19 Oct 2007 17:37 GMT
I understand that pressing the backspace key will go backward one slide, and
pressing the spacebar will advance one slide. However, when you add animation
to a particular slide, pressing these two keys will "rewind" the slide to the
beginning and "replay" it.

So ultimately, I want a button in the presentation that says "REPLAY". When
users see the slide in presentation mode, they watch the animation. And by
clicking "REPLAY", the user can "rewind" the slide to the beginning and
"replay" it.

And if it happens in microseconds, so much the better.

> And if you simulate pressing those keys with a macro it will all happen in
> microseconds so you see only a flash!
[quoted text clipped - 22 lines]
> > > help!
> > > :-)
John Wilson - 19 Oct 2007 18:25 GMT
Got there in the end!

Try this:

Sub resetme()
Dim i As Integer
i = ActivePresentation.SlideShowWindow.View.CurrentShowPosition
ActivePresentation.SlideShowWindow.View.GotoSlide i, msoTrue
End Sub

Note this will rewing to the start of the slide pressing left cursor won't.
Signature

Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk

> I understand that pressing the backspace key will go backward one slide, and
> pressing the spacebar will advance one slide. However, when you add animation
[quoted text clipped - 34 lines]
> > > > help!
> > > > :-)
Steve Rindsberg - 19 Oct 2007 20:05 GMT
> I understand that pressing the backspace key will go backward one slide, and
> pressing the spacebar will advance one slide. However, when you add animation
[quoted text clipped - 5 lines]
> clicking "REPLAY", the user can "rewind" the slide to the beginning and
> "replay" it.

You could, I think, put a duplicate of the current slide immediately prior to it,
remove all animations and all shapes that will animate on.  In other words, create
a new slide that looks just like the *real* slide when it first appears.

Then set it to transition automatically to the next slide after 0 delay.

On your *real* slide, put a back button or a link to the previous slide.

When the user clicks the link, it'll back up one slide, advance immediately to the
next slide (because of the immediate transition) and since it's transitioning to a
slide that looks exactly like it, there'll be no visible transition at all.  

And the animations will reset.

And it'll work w/o macros, so it works in the viewer and in PPT installations where
macros are locked out.

> And if it happens in microseconds, so much the better.
>
[quoted text clipped - 24 lines]
> > > > help!
> > > > :-)

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.