Can you bold specific text in a cell that uses concatenation using VBA?

rizzo93

Active Member
Joined
Jan 22, 2015
Messages
299
Office Version
  1. 365
I have a cell containing a formula I use to concatenate content from various cells. I want to be able to only bold a portion of the resulting text in that cell.

My research has shown only scenarios where the text in a cell is just text -- not the result of a formula.

Is what I'm asking for possible with VBA?

I suppose an alternative would be to copy/paste the value of the concatenated cell to another cell and then apply the bold to the text I want.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Is what I'm asking for possible with VBA?
Fraid not. You cannot change the format of part of a cell if it contains a formula.
But your alternative is possible.
 
Upvote 0
Solution
Fraid not. You cannot change the format of part of a cell if it contains a formula.
But your alternative is possible.
Ah, I was afraid of that. But glad that you could confirm it. Thanks!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top