two font colors in one cell

borntobe

Board Regular
Joined
Dec 13, 2013
Messages
66
Hi,
My workbook and worksheets are protected by password.
I want to use two colors in a cell, red and green.
Can I unprotect the sheet1 while the cell is used by user, then after finishing entering text, can I protect again?
This way I think users can use two font colors.

Can I do this in macro?
Thanks in advance.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
The Short answer is no, you cannot have 2 colors in a single cell as the cell color. It is possible to create a conditional format that changes the cells color based on a user defined condition. You can however have a cell color and a text color.
In regards to unprotecting the worksheet question... This seems to defeat the purpose of worksheet protection. You could modify the protection properties to allow users to format cells.
 
Upvote 0

Forum statistics

Threads
1,214,792
Messages
6,121,612
Members
449,039
Latest member
Mbone Mathonsi

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