Action button Hyperlink Color

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to have an action button change color after clicking it? I
know how to make it a certain static color, but I am making a Jeopardy game
with Powerpoint and need to be able to make the entire action button's fill
color change color to show that it has already been clicked. Does anyone know
how to do this or, if not, if it is possible? Please respond ASAP. Thanks a
lot!
 
There are a few possible ways to do this. You can certainly do this with
VBA. However, if you are using 2002 or 2003, you can use animation triggers.
Make a second copy of your buttons in a different color. Set the second copy
of the button to have an entrance animation triggered by the first button.
The second button can cover the first. If you know VBA, VBA is probably
easier for changing the color on a bunch of buttons, but if you don't know
VBA, then animation triggers are much easier.

Another option is to search the Web for PowerPoint Jeopardy, and you are
sure to find dozens of examples of Jeopardy games that are already made for
you.

--David

David Marcovitz
Microsoft PowerPoint MVP
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
David M. Marcovitz said:
There are a few possible ways to do this. You can certainly do this with
VBA. However, if you are using 2002 or 2003, you can use animation triggers.
Make a second copy of your buttons in a different color. Set the second copy
of the button to have an entrance animation triggered by the first button.
The second button can cover the first.


Nice.
 
Could you tell me how to do this with VBA/give me the code to do it with VBA?
I know very little VBA and none with application to Powerpoint. Further, I
don't have Powerpoint 2002 or 2003, I have Powerpoint XP, so I can't do the
animation trigger. Please respond ASAP.
 
Could you tell me how to do this with VBA/give me the code to do it with VBA?
I know very little VBA and none with application to Powerpoint. Further, I
don't have Powerpoint 2002 or 2003, I have Powerpoint XP, so I can't do the
animation trigger. Please respond ASAP.
 
If you have PPT XP, you have PPT 2002. I would look at doing this with
triggers. Set up an emphasis animation to change the look of the button,
then have that animation triggered when the button is clicked. If you need
information on setting up triggered animations, read these articles from my
site:
http://www.powerpointanswers.com/article1056.html
http://www.powerpointanswers.com/article1064.html

--
Kathryn Jacobs, Microsoft MVP PowerPoint and OneNote
Author of Kathy Jacobs on PowerPoint - Available now from Holy Macro! Books
Get PowerPoint answers at http://www.powerpointanswers.com
I believe life is meant to be lived. But:
if we live without making a difference, it makes no difference that we lived
 
As Kathy and Echo have pointed out, you do have 2002. Microsoft is just
trying to confuse you with their version naming. I think that the overall
Office product is called Office XP, but the individual applications within
it are version 2002. So if you have Office XP, you have, for example, Word
2002 (but not technically Word XP). I bet people get fired every day for
screwing up product and version names (such as the Chevy Nova which means
Chevy doesn't go in Spanish).

Hopefully, the animation trigger thing will work for you, especially with
Echo's link to a tutorial about it. However, if you must venture into VBA,
you might assign the following macro to a shape:

Sub MakeMeRed(myShape As Shape)
myShape.Fill.ForeColor.RGB = vbRed
End Sub

You can also add (before the End Sub line):

ActivePresentation.SlideShowWindow.View.GotoSlide 5

to go to the 5th slide in the presentation (change 5 to someting else to go
to a different slide) because you want to hyperlink and change colors at
the same time.

To get more familiar with VBA in PowerPoint, you might check out the
examples on my site:

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

--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.loyola.edu/education/PowerfulPowerPoint/
 

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

Back
Top