Changing background colour

C

Chris Watts

PPT 2007, Edit Mode
I am trying to change the background colour on a slide but neither of the
following works for me:

ActiveWindow.Selection.SlideRange(1).Background.Fill.ForeColor.RGB =
RGB(255, 255, 0)
ActivePresentation.Slides(1).Background.Fill.ForeColor.RGB = RGB(255, 255,
0)

At the time these are executed an image object is selected - do I need to
deselect it?

What am I doing wrong?
TIA
Chris
 

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