Color Cell

vijay2482

Board Regular
Joined
Mar 3, 2009
Messages
142
i have a worksheet "ComparedExcel" in workbook "workbook1".
in the comparedExcel worksheet, i have compared 2 other worksheets and entered the cell values that r different with red color in this format "AAA<>BBB"

in workbook2 "ECN_Modele_bh" i have a worksheet named "ECN".
i have divided the worksheet into 2 parts as current and new.
in the current part i will enter the values of the cell from worksheet "Ariane" in workbook1 and in the new part i will enter the value of the cell from worksheet "Intralink".

upto this i have the correct output.

now what i want to do is,
color the cell in red in current with different value corresponding to the cell in new and color the cell in green with different value corresponding to the cell in current.

eg:<!-- BEGIN TEMPLATE: bbcode_html -->
HTML Code:
HTML:
current                          new
cell1 cell2                cell4 cell5 
DDD   AAA                 DDD         BBB






</PRE>
<!-- END TEMPLATE: bbcode_html -->i want to color the entire cell2 in red and cell5 in green and not the values.
here in my post,the colors are used in the text/value


thanks in advance <!-- / message --><!-- BEGIN TEMPLATE: ad_showthread_firstpost_sig --><!-- END TEMPLATE: ad_showthread_firstpost_sig -->
<!-- controls -->
progress.gif
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,203,350
Messages
6,054,906
Members
444,759
Latest member
TeckTeck

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