Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-31-2021, 10:25 PM
gmayor's Avatar
gmayor gmayor is offline Conditional formatting of drop-down menu items Windows 10 Conditional formatting of drop-down menu items Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

You don't need a macro for this. The colour of the placeholder text of a content control is dependent on the built-in placeholder text character style. You can modify the colour of that style from grey to red in that document.
If you want to do that with a macro, you need the line

Code:
ActiveDocument.Styles("Placeholder Text").Font.Color = wdColorRed
You may find https://www.gmayor.com/insert_content_control_addin.htm useful
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting of drop-down menu items Work around for more than 25 items in drop-down menu brent chadwick Word VBA 7 06-14-2021 03:10 PM
Conditional formatting of drop-down menu items Conditional Formatting to activate Multiple Choices After Chosen From The Drop Down List UJ18 Word VBA 4 01-01-2020 01:59 AM
Help adding conditional text bases off drop down menu selection BraydenJose Word 3 12-29-2019 07:14 PM
Conditional formatting of drop-down menu items Can I apply conditional formatting to text in a drop down menu? Keokira Word 1 04-07-2016 08:22 AM
Conditional Formatting Drop-Down List (WORD 2013) rogelinepaula Word VBA 1 10-15-2015 05:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:43 PM.


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