ForegroundPatternColorIndex Property Example

This example applies shading with different foreground and background colors to the selection.

With Selection.Shading
    .Texture = wdTexture30Percent
    .ForegroundPatternColorIndex = wdBlue
    .BackgroundPatternColorIndex = wdYellow
End With