key words would be updated on an ongoing basis
What is not clear to me is... are the words you want to underline in a cell by themselves or are these words mixed-in with other text? If mixed-in with other text, did you want only the key word underlined or all the text in the cell underlined?3. Data in Column K is simple reports that contain the target words. There is nothing more to analize on that part. It could be any words forming a report, story etc.
Could two or more of your keywords appear in the same cell?Hi Rick, thanks for helping. The key words to be underlined would be mixed in with other words in each cell of column "K". They would never be all together in one cell. Column "K' may have as an example, 100 cells filled with data. Imagine that each cell of data in column "K" is a medical report or story of it's own. Within each of those stories or reports (one story or report per cell) there would exist those key words to be underlined.
Well, that complicates things slightly and, given the way Excel handle different formatting within the same cell, pretty much guarantees that the code will be somewhat slow (especially if you have a lot of cells and/or text involved). Let me or someone else (if others want to jump in) can do for you... just give us a little time to work something up.Rick, yes to both. any one, or more than one of the key words would likely repeat numerous times within each cell as well as appear and repeat in the different cells within column "K"