Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-28-2021, 02:37 AM
S7ewie S7ewie is offline Conditionally Shade Table Cells Windows 10 Conditionally Shade Table Cells Office 2019
Novice
Conditionally Shade Table Cells
 
Join Date: Apr 2021
Posts: 5
S7ewie is on a distinguished road
Default Conditionally Shade Table Cells

Hi all,

I'm trying to shade a table cell based on the value of a mail merge field. In this case, I'm simply using "R", "G" and "B" to depict whether the cell is red green or blue. I'm trying to follow the section in the sticky on this but I'm just getting coloured text. Am I misunderstanding the use for this or doing something completely wrong?

I've made a single cell table, Alt+F9 to bring up the code. I'm using Ctrl+F to ender new brackets and "Insert Merge Field" to add fields. My current test code is:

Code:
{IF{ MERGEFIELD Name }= "R" "*tab**tab*
*tab*Test Text*tab*
*tab**tab*" \* Charformat }
This just gives me "Test Text" in red if the value is "R". I just want to shade the cell red with no text? Am I doing something wrong or have I misunderstood that this code is used for?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditionally Shade Table Cells Conditionally Colour/Shade Numeric Output Ranges E.Buttimer Mail Merge 1 03-25-2021 02:20 PM
Conditionally Highlighting Blank Cells by Quarter in Current Calendar Year PrincessApril Excel 2 11-29-2019 03:31 AM
Conditionally Shade Table Cells Text area in table won't shade LSHAW Word Tables 1 03-09-2017 03:08 PM
Conditionally Shade Table Cells How to conditionally format cells in Col. A if it matches adjacent cell in Col. B? alshcover Excel 2 06-03-2014 12:50 PM
How to merge two columns & replace contents of cells conditionally? mag Excel 3 10-24-2012 01:07 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:38 PM.


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