![]() |
|
#4
|
||||
|
||||
|
In that case, you could add a 'ContentControlOnExit' macro to your document's 'ThisDocument' code module, coded along the lines of:
Code:
Private Sub Document_ContentControlOnExit(ByVal CCtrl As ContentControl, Cancel As Boolean)
With CCtrl
Select Case .Title
Case "Dropdown1", "Dropdown2"
Select Case .Range.Text
Case .PlaceholderText, "If ""Yes"", Select", "n/a"
.Range.Font.ColorIndex = wdRed
Case Else
.Range.Font.ColorIndex = wdAuto
End Select
End Select
End With
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| color, conditional formatting, list |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Conditionally Color Formatting Text selected from a dropdown list in Word 2010
|
pgammag | Word | 9 | 08-20-2019 04:17 PM |
| Dropdown conditional formatting | tlkc67 | Word VBA | 6 | 10-05-2014 10:54 AM |
Conditional formatting that ignores other formatting rules
|
info_guy2 | Excel | 1 | 07-03-2014 10:07 AM |
| Dropdown List in Microsoft Word 2010 | bfarquhar | Word | 2 | 04-02-2014 07:48 PM |
link conditional info in word based on excel list
|
stijnvanhoof | Mail Merge | 1 | 11-13-2012 01:55 PM |