Macro to start an animation

  • Thread starter Thread starter Danny Sowden
  • Start date Start date
D

Danny Sowden

I want to assign a button which will start an animation
using a macro. All i want is for when the user clicks on
the button it produces the same effect as right clicking
the slide and selecting Next when in Show mode.

I can do this to go to the next slide but not just to go
to the next animation. I onlt want the animation to start
when the button is clicked.

Anyone got any ideas? I am sure this is very simple, but i
cannot seem to get my head round it today.

Thanks.
 
Danny,

This code was posted by Chirag Dalal on July 14:

Sub NextBuild()
SlideShowWindows(1).View.Next
End Sub

--
Regards,

Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here
Remove spaces from signature
 
Have tried this and get the following error on compile -

Run-time error '-2147188160 (80048240)':

SlideShowWindows (unknown member) : Integer out of range.
1 is not in the valid range of 1 to 0.

Any ideas?

I am fairly new to VB and am trying to apply it to a
button as a macro

Thanks,

Danny.
 
I am adding it as a Macro and I get Micorosft Visual Basic
6 open up. I am doing it in PowerPoint 2000 and this is
the default application that comes up for writing my
macros in.

It does say VBA: Retail 6.0.8714, does this help?

Like i said i am really new to macros. Any help would be
greatly appreciated.
 
Back
Top