VBa Changing colour during presentation

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

Guest

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
 
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.

You can do this, but describe what you're after in more detail.
It may not be necessary to use VBA.

For example, a simple transition from Slide A to a duplicate of it, Slide B,
might do the job. On Slide B you've selected the shape and changed the color.
You know and I know that there are two different slides. The audience won't.

And it'll remain our little secret.
 
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/
 
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

Back
Top