macro for presentation "game"

G

Guest

I'm trying to make a tic-tac-toe "trivia" game in PP2k. The teams are asked
a question, that I have hyperlinked to another slide on each square, and if
they guess correct, they win that square, or the other team gets a chance.

The boxes in the board have an "X" and "O" textbox and when I click either,
I wanted the box to change color accordingly. Earlier I tried recording a
macro that would send the box to the "back" and another box with an "X" would
be brought to the front... but Slide Show View doesn't like using "
ActiveWindow.Selection "
so I'm stuck.

Any help would be greatly appreciated!

Thanks
 
D

David M. Marcovitz

This is tricky to convert from a recorded macro. Try changing the
ActiveWindow.Selection to
ActivePresentation.SlideShowWindow.View.Slide.Shapes(nn)

The really tricky part is finding the number represented by nn in my
above example. You could name the shapes and substitute the shape name in
quotes for the number. Naming shapes macros can be found at my Web site
at example 8.7:

http://www.PowerfulPowerPoint.com/

You might also look at some of the examples that hide and show shapes,
such as Examples 6.6 and 7.10.

Of course, the easiest thing might be to update your version to 2002 or
2003 and use animation triggers.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 

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