Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2019, 04:17 PM
macropod's Avatar
macropod macropod is offline Conditionally Color Formatting Text selected from a dropdown list in Word 2010 Windows 7 64bit Conditionally Color Formatting Text selected from a dropdown list in Word 2010 Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See the code for Content Control Conditional Formatting in the attachment at: Change color according with dropdown selection. To vary the text colour rather than the cell colour, change:


Code:
.Range.Cells(1).Shading.BackgroundPatternColorIndex
to:
Code:
.Range.Font.ColorIndex
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
conditional formatting, drop down lists, word 2010



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA: How to place dropdown list next to text YigalB Word VBA 0 08-11-2013 01:48 PM
Conditionally Color Formatting Text selected from a dropdown list in Word 2010 Formatting affecting more than selected text esteban Word 7 05-25-2012 04:34 AM
Change cell color everytime a value is selected in dropdown list angelica_gloria Excel 4 01-27-2012 06:47 PM
Conditionally Color Formatting Text selected from a dropdown list in Word 2010 Strange formatting text color error in form fields.. rscafidi Word 2 10-16-2011 03:25 PM
Text form field loses formatting in Word 2010 mel72349 Word 0 08-02-2011 02:25 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft