background color in a presentation

N

Neron

Hi all,

I was wondering...
Is it possible to change the background color per slide of
presentation?
For exemple: the backgroundcolor of the first slide needs to be black
the background color of the last slide needs to be white.
Thus, the slides in between should have a "gradient" change from dar
to light, but the number of slides can vary, so I don't know the exac
color of the background per slide.
If there anyone who can help me on this one?

Greetz,

Ber
 
U

Ute Simon

I was wondering...
Is it possible to change the background color per slide of a
presentation?
For exemple: the backgroundcolor of the first slide needs to be black,
the background color of the last slide needs to be white.
Thus, the slides in between should have a "gradient" change from dark
to light, but the number of slides can vary, so I don't know the exact
color of the background per slide.
If there anyone who can help me on this one?

Hi Bert,

there is no automatic setting for this. If you do not want to do it manually
for every slide, you will need a VBA macro to calculate and change the
colors. Are you able to do any programming yourself?

If I imagine myself sitting in the audience of this presentation, I think I
would be irritated by changing colors. You must have a very good reason to
do that.

Best regards,
Ute
 
B

Bill Dilworth

This could be done with a simple VBA routine to "count" the slides, then
adjust the color scale for each RGB value to the fraction of the
presentation, then apply it to the slide background (not the template).

You would just need to run the routine whenever the number or location of
slides changed.

Do you code? Do you code VBA? Do you code PowerPoint VBA?

Bill Dilworth
 
N

Neron

I've come as far as:

-
For i = 1 To nSlides
With ActivePresentation.Slides(i)
FollowMasterBackground = msoFalse
DisplayMasterShapes = msoTrue
With .Background
Fill.Visible = msoTrue
Fill.ForeColor.RGB = RGB(cRed, cGreen, cBlue)
Fill.Transparency = 0#
Fill.Solid
End With
End With
cRed = cRed + ((txtRedLast.Value - txtRedFirst.Value) / (nSlides -
1))
cGreen = cGreen + ((txtGreenLast.Value - txtGreenFirst.Value) /
(nSlides - 1))
cBlue = cBlue + ((txtBlueLast.Value - txtBlueFirst.Value) /
(nSlides - 1))
Next
-

But is there any way to "smooth" the gradient?
This could be done with a simple VBA routine to "count" the slides, then

adjust the color scale for each RGB value to the fraction of the
presentation, then apply it to the slide background (not the
template).

You would just need to run the routine whenever the number or location
of
slides changed.

Do you code? Do you code VBA? Do you code PowerPoint VBA?

Bill Dilworth

[/i]
[/QUOTE]
 
U

Ute Simon

But there's also the problem of how the computer display reacts. It's not
linear ... the change from 0/0/0 to 10/10/10 probably won't be visible;
the
change from 128/128/128 to 138/138/138 will be quite obvious.

And if you should plan to print your presentation, keep in mind that Gray is
one of the most difficult colors to print on office laser printers. The one
in our office prints a blueish shade (though we compared gradients on a
variety of models before purchasing - this was the most acceptable one), but
I've also seen greenish and pinkish grays. And the gradient might not be
smooth, either.

Best regards,
Ute
 
B

Bill Dilworth

So, I might try to come up with a curve based on halves.

Pick the shade of gray that is 1/2 way between black and white, then pick
the gray mid-point between each of those, then build a curve formula based
on that. And here you thought quadratic equations would never apply to the
real world.

Bill Dilworth
 

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