Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Haven't found this yet in previous threads, but I'm sure i missed it.
I am trying to Lock all cells that are a certain color as follows: Sub lock_all_tan() For Each s In Sheets For Each c In Cells If c.ColorIndex = 40 Then c.Locked = False c.FormulaHidden = False End If Next Next End Sub The above doesn't work at all, appreciate any help. Thanks, Jason |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I lock the color palette? | Excel Discussion (Misc queries) | |||
How do I lock the color palette? | Excel Discussion (Misc queries) | |||
How do I lock the color palette? | Excel Discussion (Misc queries) | |||
how do I lock the fill color in a cell | Excel Worksheet Functions | |||
lock cells based on interior color | Excel Discussion (Misc queries) |