Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have this code that enables users to change the font colour of unlocked cells to red of a protected sheet without needing the password: Sub Macro2() With Selection ActiveSheet.Unprotect Password:="password" With Selection.Font .Color = -16776961 End With End With ActiveSheet.Protect Password:="password" End Sub How can I use this same code but format the background colour of a cell to red rather then the font colour? Thanks for all of your help! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formatting unlocked cells and stop users from pasting | Excel Programming | |||
How can I have formatting options like merge cells ,Bold,active for the unlocked cells of the protected worksheet.Is it possible in excel? | Excel Programming | |||
How can I have formatting toolbar active for the unprotected(unlocked) cells of the protected worksheet??? | Excel Discussion (Misc queries) | |||
Moving from unlocked cells to unlocked cells in an excel form | Excel Worksheet Functions | |||
Formatting unlocked cells on protected sheet | Excel Programming |