VBa Changing colour during presentation

D

DMc2004

Hi

I need to hcnage the colour of an object during a presentation.

Can i do this using VBA and how could i do this.

D
 
D

David M. Marcovitz

What Steve said, but if you really want to do it in VBA, it is not that
hard. I have examples on my site that change text color (such as Example
6.8), but I couldn't find any that changed object color. But it would be
something like this:

ActivePresentation.Slides(1).Shapes(3).Fill.ForeColor.RGB = vbRed

to change the third shape on the first slide to red.

--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/
 
S

Sandy

Of course, in PPT2002/2003 you can use SlideShow > Custom Animation. Click
add effect, then Emphasis. Then CHange Fill and/or Change Line color.

Sandy
 

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