As Chiraq says. There is some sample code here:
http://www.pptalchemy.co.uk/vbasamples.html
"RJ" <(E-Mail Removed)> wrote in message
news:26F55DFF-5A39-4408-A1FC-(E-Mail Removed)...
> Fairly new to Powerpoint, but have mangaed to put together a small slide
> show
> which will be run interactively on a kiosk. The only task I haven't been
> able
> to accomplish is I want to be able to install an action button that will
> return the viewer to the last slide viewed MINUS 1. In other words the
> slide
> before the last slide viewed. Example: Let's say I have 5 slides. The
> viewer
> views slide#1 and clicks an action button which takes him to slide #3.
> From
> slide #3 the viewer clicks another action button taking them to slide #5.
> On
> slide #5 I would like there to be an action button that when clicked will
> take the viewer to slide #2. (The last slide viewed (#3) minus 1). Is this
> possible? Would appreciate anyone's help. Thanks!
> RJ
>
> __________ Information from ESET Smart Security, version of virus
> signature database 5083 (20100503) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
__________ Information from ESET Smart Security, version of virus signature database 5083 (20100503) __________
The message was checked by ESET Smart Security.
http://www.eset.com