Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Colour Fill Colums in Word

Status
Not open for further replies.

June1975

Programmer
Jul 22, 2003
35
GB
I have the following code that colorfills the first column in a table.

With Selection.Shading
.Texture = wdTextureNone
.ForegroundPatternColorIndex = wdAuto
.BackgroundPatternColorIndex = wdTurquoise
End With

Howvever I want the following RGB colour applied (RGB = RGB(242, 239, 135) rather than the constant that is supplied with the .BackgroundPatternColorIndex method.

How would I go about doing this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top