Reposted Random Number question

R

Ray Woods

Sorry to repost this again but no Reponses and not sure what to do before I
drop off the end of the newsgroup

I tried the suggestion below but need to fire a macro during a show after
each animation has finished.

The show starts with a number of animated objects
After each animation has finished within in the slide I would like to run a
procedure
The procedure runs the RND() function which is used to insert the number as
text into the object
The process continues until all object animation is finished

If would be great if someone can start me off as I'm getting my self in
knots on something that should be simple

Many thanks


Ray



Thanks for the example

All seems ok for a static shape but once I animate the object the macro
seems to fail. I'm using a bounce effect in Powerpint 2003.

Ray
 
D

David M. Marcovitz

I'm not sure exactly what you have in mind. The difficulty with what you
said is that you want the macro to run AFTER the animation--I assume as
part of the animation sequence. I don't think you can do this.

A better solution might be to fire the macro before the animation. Have
the macro adjust the numbers in balls that are off the screen, and then
include those balls in the animation sequence. You can have duplicate,
unnumbered balls flying all over the place, followed by an Appear
animation to have the off-screen balls show up as the last thing in the
animation sequence. The macro can even be run at the very beginning of
the presentation, long before you get to the slide with the balls
becasuse the balls will not appear until the animation is run.

What specifically are you having trouble with? Can you generate random
numbers? Can you place those numbers in the text area of shapes? Can you
animate those shapes?

--David

--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
P

PPTMagician

It sounds like he wants a random number to pop up in each object right after
it finishes it's animation.

Glenna
 
R

Ray Woods

The animation has six balls which spiral onto the screen with a random
number on each ball. I've tried running the macro prior to the animation and
it works so all looks good so thanks guys.

Only one more opeartional problem. I have an action button which flies onto
the screen at the end of the sequence which allows the user to run the
sequence again whithout restarting the program from scratch. This works fine
on my machine but when I export the presentation to other machine(s) the
button fails to work. Both machines are running XP with service pack 2 and
Powerpoint 2003 SP1. The button uses its action property to run a macro
which starts the show at a particular slide.

Thanks again for your help

Ray
 
D

David M. Marcovitz

Great. I'm glad it's working for you.

On the machine that doesn't work, are any macros working? Are you sure
you have macro security on that machine set to Medium or Low?

--David

--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
R

Ray Woods

Thanks David, the other machine(s) macro security was set to High.
I thought I would have got a warning but obviously not.

Thanks again for your help also Glenna :)
 
R

Ray Woods

Is it possible to test the state of the security when powerpoint is run in
order to put up a message to the user.

Ray
 
R

Ray Woods

Thanks, guys, could I have a text object with a warning message saying that
Macros are disabled as part of the presentation.
This text objects visible property could then be set to false if a macro
succefully ran at startup.
Is it possible to run a macro at startup and would this be feasible?

Ray
 

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