View Single Post
 
Old 09-13-2025, 12:21 AM
Kawax Kawax is offline Windows 10 Office 2016
Novice
 
Join Date: Sep 2025
Posts: 1
Kawax is on a distinguished road
Lightbulb how to change color of part of a cell text

Hello,


I have tables with cells containing letters, for instance :


Cell (1,1) = "A B F H"
Cell (1,2) = "C F R"


I want to color each letter in red or in black individually, based on a criteria that I apply from other cells content.


For instance, in cell 1, F would be colored black, the other letters red. In cell 2, F would red, etc. => the color of the letters can differ from cell to cell.


I'm more or less able to navigate through cells and return information but I can't find how to change the color of these characters, as Characters collections is read only and Cells seems to work differently than in Excel. Unfortunately, I can't leave the Word environment due to other constraints (complex layout)


I saw in another thread https://www.msofficeforums.com/word-...xt-within.html that Find can be used. In my case I guess it won't work as the color of a letter can be each time different in cell 1, 2, 3, 4 ?


Many thanks for your suggestions,


JM
Reply With Quote