+ Reply to Thread
Results 1 to 2 of 2

Format + cell protection

  1. #1
    Forum Contributor
    Join Date
    12-04-2006
    Posts
    201

    Format + cell protection

    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

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote 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:

    Please Login or Register  to view this content.
    Once there's an entry then the conditional format will over-ride any colour a user tries to use.
    Rgds

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1