
Originally Posted by
Sharp
Hi,
I have protected a sheet and not allowed 'format cells' as i do not want the user to be able to colour fill whole cells. However i want them to be able to use the bold text function and the text colour fucntion......is there anyway ti achieve this??
thanks
There's probably a way with VBA. It would mean making the cells the subject of a Worksheet_Selection Change event, and then temporarily switching protection off, testing if the change being made is other than a Bold or Font Colour Change and if so making the change and setting protection back on, otherwise doing nothing.
It seems a sledgehammer to crack the proverbial nut though.
How about setting conditional formats to no colour if there's an entry in the cell? i.e. Assuming A1 is the cell, use the Formula Is box in the Conditional Formatting menu, choosing the No Colour option and using the formula:
Once there's an entry then the conditional format will over-ride any colour a user tries to use.
Rgds
Bookmarks