Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2020, 11:46 PM
amandalee amandalee is offline Changing background colour in table based on value. Windows 10 Changing background colour in table based on value. Office 2013
Novice
Changing background colour in table based on value.
 
Join Date: Sep 2020
Posts: 12
amandalee is on a distinguished road
Default

Thank you so much, I did try that and it certainly works. How do I go in to change the words and also the yellow colour to orange ?
Reply With Quote
  #2  
Old 09-28-2020, 07:15 PM
macropod's Avatar
macropod macropod is offline Changing background colour in table based on value. Windows 10 Changing background colour in table based on value. Office 2010
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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

Quote:
Originally Posted by amandalee View Post
Thank you so much, I did try that and it certainly works. How do I go in to change the words and also the yellow colour to orange ?
Further down the same thread is more code for changing the font colour: https://www.msofficeforums.com/103931-post21.html

For orange, you could use code like:
Code:
Const wdOrange As Long = 41215
'...
  .Cells(1).Shading.BackgroundPatternColor = wdOrange
  .Font.Color = wdOrange
or simply:
Code:
  .Cells(1).Shading.BackgroundPatternColor = wdColorOrange
  .Font.Color = wdColorOrange
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 09-28-2020, 11:27 PM
amandalee amandalee is offline Changing background colour in table based on value. Windows 10 Changing background colour in table based on value. Office 2013
Novice
Changing background colour in table based on value.
 
Join Date: Sep 2020
Posts: 12
amandalee is on a distinguished road
Default Thanks

Thank you
Yes I am sorry, I did declare I am far from a computer wiz
I have attempted a version of both suggestions Version 1 does not change the colour at all and version 2 comes up with an error as attached. I have also attached the document in case it is easier for you to see. I appreciate your time. Amanda
Attached Images
File Type: jpg Attempt 1.jpg (72.9 KB, 36 views)
File Type: jpg Attempt 2.jpg (114.8 KB, 36 views)
Attached Files
File Type: docm New Nursing Performance template.docm (38.3 KB, 17 views)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Background Word Colour not showing on PDF phorsley Word 1 04-24-2020 09:18 AM
Changing background colour in table based on value. Text Background Colour in a Table Colin Vicary Word 4 08-08-2019 06:02 AM
Word background colour ignores Windows setting wiganken Word 1 07-19-2018 09:25 AM
Changing background colour in table based on value. Changing background colour based on dropdown choice PLeo Word VBA 2 08-03-2017 07:40 AM
Trying to clear the background colour from a theme ezekiel181 Word 1 11-14-2010 07:29 AM

Other Forums: Access Forums

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