Link to home
Start Free TrialLog in
Avatar of rav_rav
rav_rav

asked on

Run vba/macro when I end slideshow

Hello Experts,

How can I programmatically run a macro when I end a slideshow (i.e. when I right click during the slideshow and select "End Show")?

FYI: Specifically, what I am trying to do is call a macro I have which edits the hyperlinks within the slides.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rav_rav
rav_rav

ASKER

Hi Chris,

Thanks for your help.  Could you please explain what each snippet of the code you presented does?

Thanks again.
The text block is all about adding an event handler, unlike some MS apps PPT does not automatically add event handlers or even instantiate the code forf them.

The bit in the text field is tehrefore about adding the mechanism for events and once it is all in place adds the events to the PPT.

The snippet is the bit that actually uses the show ending event to trigger some activity

Chris
Avatar of rav_rav

ASKER

Thanks Chris.