View Single Post
 
Old 03-14-2024, 09:48 AM
vivka vivka is offline Windows 7 64bit Office 2016
Expert
 
Join Date: Jul 2023
Posts: 302
vivka is on a distinguished road
Default

Hi, former lurker, current poster ! If the words to bold are flanked by spaces, I think, the solution is quite simple:
Code:
wordsToBold(1) = " word 1 "
wordsToBold(2) = " word 2 "
wordsToBold(3) = " word 3 "
or:

Code:
wordsToBold(1) = "word 1 "
wordsToBold(2) = "word 2 "
wordsToBold(3) = "word 3 "
If the codes above meet your needs, I will not propose a more complicated solution.
Reply With Quote