Background Property Example

This example sets the background of the slide master in the active presentation to a preset shade.

ActivePresentation.SlideMaster.Background.Fill.PresetGradient _
    msoGradientHorizontal, 1, msoGradientLateSunset

This example sets the background of slide one in the active presentation to a preset shade.

With ActivePresentation.Slides(1)
    .FollowMasterBackground = False
    .Background.Fill.PresetGradient _
        msoGradientHorizontal, 1, msoGradientLateSunset
End With