Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2023, 07:43 AM
HC123 HC123 is offline VBA for Word tables background colour throughout document Windows 10 VBA for Word tables background colour throughout document Office 2021
Novice
VBA for Word tables background colour throughout document
 
Join Date: Aug 2023
Posts: 1
HC123 is on a distinguished road
Default VBA for Word tables background colour throughout document

Hi,

Could anyone please help with code to change the background colour of a word document table throughout multiple tables in a doc. I just need it to change High to red, Low to green and Moderate to amber but I can't find anything that works. It just does nothing when I click run. Thank you,
Reply With Quote
  #2  
Old 08-15-2023, 04:14 PM
Guessed's Avatar
Guessed Guessed is offline VBA for Word tables background colour throughout document Windows 10 VBA for Word tables background colour throughout document Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You would do this with content controls and an OnExit macro. See this thread https://www.msofficeforums.com/word-...lection-3.html
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA for Word tables background colour throughout document How to change background 'paper' colour? wiganken Office 2 11-29-2020 04:34 AM
Background Word Colour not showing on PDF phorsley Word 1 04-24-2020 09:18 AM
VBA for Word tables background colour throughout document 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
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 06:58 AM.


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