You will need to create an event trap or use one of the ready-made event
trap add-ins. Here is a faq with more info:
Make PPT respond to events
http://www.pptfaq.com/FAQ00004.htm

Signature
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
.
>I would like to start a macro when you move to the next slide, at present I
> can only start the macro using a button. The macro controls some external
[quoted text clipped - 3 lines]
> Thanks
> Chris
As Bill says if you are confident with events this is the way to go.
But if you aren't you could try this sneaky trick. Have a full screen 99%
transparent (ie invisible) shape appear at the start of the slide with custom
animation. Give it an action setting of MOUSEOVER> run macro. This will work
best in kiosk mode or if you press ctrl A at the start of the presentation

Signature
Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
> I would like to start a macro when you move to the next slide, at present I
> can only start the macro using a button. The macro controls some external
[quoted text clipped - 3 lines]
> Thanks
> Chris
Chris - 24 Sep 2007 19:10 GMT
I have created an event trap that I start on the first slide. I then
execute code on the slideID. If I execute a simple message box then
everything works okay and the presentation can loop and the code executes on
every pass. However if I execute my code that drives some external equipment
(takes about 10s to complete) then on the next loop the event is not captured
and I have to restart the event trap again. I have tried to add a call to
the event trap when my code terminates, although it confirms the active
state, it still does not seem to work.
Any ideas? Many thanks
Chris
Bill Dilworth - 24 Sep 2007 23:31 GMT
Often, if the code encounters an error, it will simply stop working. Try to
insert a simple error trap that pops a message box. See if this helps
narrow down the problem.
Bill Dilworth
> I have created an event trap that I start on the first slide. I then
> execute code on the slideID. If I execute a simple message box then
[quoted text clipped - 11 lines]
>
> Chris
Chris - 25 Sep 2007 08:40 GMT
Yup, I had an 'end' statement right at the end of my code for no reason.
Thanks for all your help - everything is now working perfectly.
Chris