Changing colours with VBA

  • Thread starter Thread starter Colin Dalziel
  • Start date Start date
C

Colin Dalziel

I'm trying to create an interactive quiz for two teams in
Powerpower. This is similar to the UK TV show
blockbusters, which is based on a grid. Each square has a
letter which the team selects for a question related to
the letter. The idea is to make a row of letters to win
the game but the other team can block a row so there is a
need to allow people to select any square at any time.

If one team gets a question correct a square on the grid
is turned red if the other team gets it right it goes
green. As it is non-linear (ie any square can be chosen)
I can't create a slide for each possible colour
combination on the grid as there would be too many.

So I wondered if anyone who knows VBA could help me with
details of how to change the colour of the squares. I
guess by putting a red and green button somewhere on each
square.

I have never used VBA (which is always a good starting
point!).

Many thanks

Colin
 
The links here should help (and thanks to David Markovitz and other posters
here for the link info)

Creating games in PowerPoint
http://www.rdpslides.com/pptfaq/FAQ00616.htm



I'm trying to create an interactive quiz for two teams in
Powerpower. This is similar to the UK TV show
blockbusters, which is based on a grid. Each square has a
letter which the team selects for a question related to
the letter. The idea is to make a row of letters to win
the game but the other team can block a row so there is a
need to allow people to select any square at any time.

If one team gets a question correct a square on the grid
is turned red if the other team gets it right it goes
green. As it is non-linear (ie any square can be chosen)
I can't create a slide for each possible colour
combination on the grid as there would be too many.

So I wondered if anyone who knows VBA could help me with
details of how to change the colour of the squares. I
guess by putting a red and green button somewhere on each
square.

I have never used VBA (which is always a good starting
point!).

Many thanks

Colin

--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Featured Presenter, PowerPoint Live 2004
October 10-13, San Diego, CA www.PowerPointLive.com
================================================
 
Steve's link will point to my site:

http://www.loyola.edu/education/PowerfulPowerPoint/

You can find examples of changing text color in Example 6.8. Several
"Examples from Real People" include changing the color of objects,
including the "Fraction Factory," which is currently the second to last
example under "Examples from Real People."

--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/
 
Back
Top