Re: Run macros programmatically?

From: Bill Dilworth (vestprog2_at_yahoo.org)
Date: 05/12/04


Date: Wed, 12 May 2004 18:48:43 -0400

This is relatively simple, without Macros, if you are using PowerPoint 2002
or 2003. A simple trigger animation will allow you to click one object and
have another appear/disappear.

Here's how I would do it,

1 - Create a new slide
Insert | New Slide

2 - Insert the picture you will be revealing
Insert | Picture | From File

3 - Insert a star at the top of the screen
AutoShapes | Stars and Banners | 5-point Star

4 - Insert a rectangle over part of the picture
AutoShapes | Basic Shapes | Rectangle

5 - Change fill & border of rectangle
select rectangle | Format | Autoshapes... | Fill | Background
Line | None | OK

6 - Add a custom EXIT animation on the rectangle
SlideShow | Custom Animation
(with Rectangle still selected) Add Effect | Exit | Fade

7 - Set the Trigger in the custom animations pane
{pulldown} Rectangle ? | Timing | {button} Triggers | Start effect on click
of: | 5-Point Star

8 - Select the pair (formatted rectangle and star) - Copy (Ctl + C) & paste
(Ctl + V) as many times as will be needed for the squares to cover the
picture.

9 - Arrange the rectangles to cover the picture

10 - Arrange the stars to look pretty

11 - Run the slide

Whenever a star is clicked, the affiliated rectangle will fade out and
reveal a portion of the picture. You can also use the same trigger to cause
the activated star to fade out as well, thus limiting the ability to click
on one star more than once.

Make sense?

-- 
Bill Dilworth, Microsoft PPT MVP
===============
Please spend a few minutes checking       vestprog2@
out www.pptfaq.com  This link will             yahoo.
answer most of our questions, before           com
you think to ask them.
Change org to com to defuse anti-spam,
ant-virus, anti-nuisance misdirection.
.
.
"Øystein Eriksen" <oeyerik@online.no> wrote in message
news:Gjtoc.1020$RL3.27594@news2.e.nsc.no...
> I want to make a powerpoint presentation with a slide containing a picture
> which are splitted like a puzzle with for example 6 pieces.
> Then I want to use 6 command buttons to view each piece of the
> picture/puzzle so I can use it like a game where the players select a
piece
> of the picture one by one. The winner is the player that first guess what
> the picture show (for example a horse, a bird, a flower, a car etc).
> Any ideas how I can make this. Maybe there is any other software which is
> working better for this use?
>
> Øystein Eriksen
>
> "David M. Marcovitz" <marcoNOSPAM@loyola.edu> skrev i melding
> news:Xns94E6B1E57B802marcoNOSPAMloyolaedu@207.46.248.16...
> > What do you mean by "run macros programatically"?  If you have two
> > macros, you can call one from the other.  See example 5.5 from my web
> > site (click on Examples by Chapter and go to Chapter 5):
> >
> > http://www.loyola.edu/education/PowerfulPowerPoint/
> >
> > I'm guessing you want something more complicated than this.  Please let
> > us know what.
> >
> > --David
> >
> > -- 
> > David M. Marcovitz, Ph.D.
> > Director of Graduate Programs in Educational Technology
> > Loyola College in Maryland
> > Author of _Powerful PowerPoint for Educators_
> > http://www.loyola.edu/education/PowerfulPowerPoint/
> >
> > "Øystein Eriksen" <oeyerik@online.no> wrote in news:Rsboc.736$eH3.29603
> > @news4.e.nsc.no:
> >
> > > How can I run macros programmatically?
> > >
> > >
> > >
> >
>
>

Loading