Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #16  
Old 12-07-2014, 01:36 PM
macropod's Avatar
macropod macropod is offline Conditional Formatting on Word (Dropdown List) Windows 7 64bit Conditional Formatting on Word (Dropdown List) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,342
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


No, that macro is just a once-off, to correct the placeholder text for the date controls. There is no need to keep it in the document or its template (if you're using a template, run the macro against that).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #17  
Old 12-07-2014, 01:45 PM
daviieejay daviieejay is offline Conditional Formatting on Word (Dropdown List) Windows 7 64bit Conditional Formatting on Word (Dropdown List) Office 2010 64bit
Novice
Conditional Formatting on Word (Dropdown List)
 
Join Date: Dec 2014
Posts: 12
daviieejay is on a distinguished road
Default

That's awesome. Thank you so much for all of your hard work and patience
Reply With Quote
  #18  
Old 12-07-2014, 02:01 PM
daviieejay daviieejay is offline Conditional Formatting on Word (Dropdown List) Windows 7 64bit Conditional Formatting on Word (Dropdown List) Office 2010 64bit
Novice
Conditional Formatting on Word (Dropdown List)
 
Join Date: Dec 2014
Posts: 12
daviieejay is on a distinguished road
Default

FYI: The run-time error keeps coming up, so I'll just have to get a macro to execute that macro when the document is opened so that the user doesn't experience the error.

Thanks again
Reply With Quote
  #19  
Old 12-07-2014, 03:27 PM
macropod's Avatar
macropod macropod is offline Conditional Formatting on Word (Dropdown List) Windows 7 64bit Conditional Formatting on Word (Dropdown List) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,342
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

Try the attached. I've done a bit of re-organising of your content control names & placeholder text, plus protecting them from deletion. I've left the code used for the latter in the document, so you can see what was done, but there's no particular reason to keep it unless you want to.
Attached Files
File Type: docm FormTest.docm (35.4 KB, 18 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #20  
Old 12-07-2014, 06:55 PM
daviieejay daviieejay is offline Conditional Formatting on Word (Dropdown List) Windows 7 64bit Conditional Formatting on Word (Dropdown List) Office 2010 64bit
Novice
Conditional Formatting on Word (Dropdown List)
 
Join Date: Dec 2014
Posts: 12
daviieejay is on a distinguished road
Default

Thank you!
Reply With Quote
  #21  
Old 12-07-2014, 07:09 PM
daviieejay daviieejay is offline Conditional Formatting on Word (Dropdown List) Windows 7 64bit Conditional Formatting on Word (Dropdown List) Office 2010 64bit
Novice
Conditional Formatting on Word (Dropdown List)
 
Join Date: Dec 2014
Posts: 12
daviieejay is on a distinguished road
Default

How do I unlock the formatting (so I can use my content)?
Reply With Quote
  #22  
Old 12-07-2014, 11:08 PM
macropod's Avatar
macropod macropod is offline Conditional Formatting on Word (Dropdown List) Windows 7 64bit Conditional Formatting on Word (Dropdown List) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,342
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

I haven't done anything to 'lock' the formatting. The macro does have:
Code:
      With .Range.Font
        .Size = 8
        If ContentControl.Title = "Select Date" Then .Italic = True
      End With
which ensures they stay at the 8pt size and that the date control remains in italics. The preferred way of controlling font attributes, as I said previously, is through the use of Styles, in which case, those lines wouldn't be needed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
color, conditional formatting, list



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting on Word (Dropdown List) 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 on Word (Dropdown List) 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
Conditional Formatting on Word (Dropdown List) link conditional info in word based on excel list stijnvanhoof Mail Merge 1 11-13-2012 01:55 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:15 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