Dan Waterloo
Well-known Member
- Joined
- Jan 4, 2007
- Messages
- 876
Let's say that this sentence is in A1:
If it isn't clear, the word "king" is bolded but the rest of the sentence isn't.
Further, the sentence, "Long live the king!" is in cell A2. It isn't bolded at all.
How can I combine these two sentences in cell A3 so that the first instance of "king" remains bolded? A solution using either VBA or a formula would be fine with me. (But I don't want a solution where the strings get concatenated and then the bolding gets applied afterwards in some hard-coded fashion.)
Rich (BB code):
The king is dead.
Further, the sentence, "Long live the king!" is in cell A2. It isn't bolded at all.
How can I combine these two sentences in cell A3 so that the first instance of "king" remains bolded? A solution using either VBA or a formula would be fine with me. (But I don't want a solution where the strings get concatenated and then the bolding gets applied afterwards in some hard-coded fashion.)