View Single Post
 
Old 10-19-2021, 04:50 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
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 of
Default

There is no event associated with the change of value in a table cell that will format the cell colour automatically in Word.

Using a content control to select the value, the on exit event of that control can be used, as in the example, to format according to the value when you tab out of the control. The same event can be used with multiple controls as required.

The other less attractive option relies on the correct values to be entered in the table cell(s) and then subsequently run a macro to format the cell(s) based on the value(s) entered.This is hardly seamless.
__________________
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