![]() |
|
|
|
#1
|
|||
|
|||
|
You need to identify the cell that has been selected.
Code:
With Selection.Range.Cells(1)
.Range.Characters.First.Font.ColorIndex = wdGreen
.Shading.Texture = wdTextureNone
.Shading.ForegroundPatternColor = wdColorAutomatic
.Shading.BackgroundPatternColor = wdColorOrange
End With
|
|
| Tags |
| symbol color, table cell bgcolor |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Allow Cell Background Fill/Text Color Change while Protected Sheets are Grouped | RaudelJr | Excel | 5 | 04-18-2017 11:11 PM |
VBA Table – Search All Tables - Find & Replace Text in Table Cell With Specific Background Color
|
jc491 | Word VBA | 8 | 09-30-2015 06:10 AM |
| Setting a particular table cell background color when an option button is selected in Word 2007 | a888 | Word VBA | 11 | 03-25-2015 05:33 AM |
How to remove background color in a table that isn't there but is there?
|
pintree3 | Word | 5 | 10-27-2014 10:23 AM |
Cell Background Color: Base it on Content of Cell?
|
tatihulot | Excel | 4 | 08-14-2013 03:24 PM |