Control custom animation from a different slide

L

ladywriter05

I would like to control custom animation on one slide while I'm on
different slide. Specifically, I would like a character to move up o
one slide every time the right answer is clicked on a second slide. I
this possible? If so, what code can I use
 
D

David Marcovitz

I would like to control custom animation on one slide while I'm on a
different slide. Specifically, I would like a character to move up on
one slide every time the right answer is clicked on a second slide. Is
this possible? If so, what code can I use?

With standard PowerPoint, it is not possible to do this. With VBA (you did
mention "code"), this is possible. Since you are not on the actual slide,
you don't need to mess with animation, you can just adjust the position of
an object. For example,

ActivePresentation.Slides(4).Shapes(5).Top = 100

will move the 5th shape on the 4th slide to position 100 on the slide. It's
easier to do if you name the shapes (replacing 5 with the name of the shape
in quotation marks).

--David
--
David M. Marcovitz
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
Microsoft PowerPoint MVP
Associate Professor, Loyola University Maryland
 
L

ladywriter05

David said:
With standard PowerPoint, it is not possible to do this. With VBA (yo
did
mention "code"), this is possible. Since you are not on the actua
slide,
you don't need to mess with animation, you can just adjust the positio
of
an object. For example,

ActivePresentation.Slides(4).Shapes(5).Top = 100

will move the 5th shape on the 4th slide to position 100 on the slide
It's
easier to do if you name the shapes (replacing 5 with the name of th
shape
in quotation marks).

--David
--
David M. Marcovitz
Author of _Powerful PowerPoint for Educators_
'Powerful PowerPoint for Educators
(http://www.PowerfulPowerPoint.com/)
Microsoft PowerPoint MVP
Associate Professor, Loyola University Maryland

Thanks so much. It worked! Another question: Is it possible to passwor
protect a single slide or a group of slides within one presentation
 
D

David Marcovitz

Thanks so much. It worked! Another question: Is it possible to password
protect a single slide or a group of slides within one presentation?

No, I do not believe you can password protect a subset of a presentation
without having multiple linked presentations. This PPT FAQ entry talks more
about password protection:

Password protect a presentation
http://www.pptfaq.com/FAQ00038.htm

Of course, if you are a really hot-shot coder, you could have the protected
slides be created with VBA on the fly during the presentation, and you can
password-protect the VBA code. I don't recommend this approach, but it could
work.

--David
--
David M. Marcovitz
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
Microsoft PowerPoint MVP
Associate Professor, Loyola University Maryland
 
D

David Marcovitz

Isn't that sorta like making me wait out in the hall while you go in your
office and create the slides?

I can't see how you did it but when you give me the file, the slides are still
editable/unprotected.


==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/

PPTools add-ins for PowerPoint
http://www.pptools.com/

Don't Miss the PPTLive User Conference! Atlanta | Oct 11-14

No, my idea is that the code will do it on the fly. That is, you won't get
the slides. The slides get created when you click on a button in the
presentation (and possibly deleted at the end...this presentation will
self-destruct in 5 seconds).
--David
--
David M. Marcovitz
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
Microsoft PowerPoint MVP
Associate Professor, Loyola University Maryland
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top