Another tough one: Find text, add text to cell with different color/font

klarowe

Active Member
Joined
Mar 28, 2011
Messages
389
I want to try to create a macro that will search through column A on all sheets of my workbook for the text "Comments:". Then for each one that is found, add the text "Oxygen Cleaning Required" in bold, red font (colorindex = 3)... all within the same cell.

If that cannot be accomplished then I can unmerge the cells and put the new text (oxygen cleaning required) in column C of the same row as "comments:"

This will all be linked to either a button or upon workbook open, but if you can get me the bulk of the code, that will work.

Thanks yet again!!!
 
I'll have to give that a try when I can. (just got pulled off this project and put on another.. lol).
Thanks again for your help!!!

Not a problem, thanks for the feedback, and good luck! ;)
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,224,548
Messages
6,179,445
Members
452,915
Latest member
hannnahheileen

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