Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Change cell format based on its color
Dear Experts
Being new to VBA I have following question. In an Excel 2003 workbook, where all cells as default are protected, I would like to unprotect cells with a specific color. Can any of you give a clue? Thanks in advance Anders Copenhagen |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Change cell format based on its color
Is the color produce by conditional formatting?
If not assuming the sheet is unprotected. For each cell in activesheet.UsedRange if cell.interior.ColorIndex = 5 cell.Locked = False end if Next -- Regards, Tom Ogilvy "Anders" wrote in message oups.com... Dear Experts Being new to VBA I have following question. In an Excel 2003 workbook, where all cells as default are protected, I would like to unprotect cells with a specific color. Can any of you give a clue? Thanks in advance Anders Copenhagen |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Change cell format based on its color
Is it really that simple!
Thanks a lot Tom - my problem is solved. Br Anders |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I want to change the cell format (color) based on a calc | Excel Discussion (Misc queries) | |||
Change tab color based on current color of a cell | Excel Discussion (Misc queries) | |||
Conditional format: change row color based on cell value | Excel Discussion (Misc queries) | |||
Excel: Syntax to change cell color based on color of another cell | Excel Worksheet Functions | |||
Browse Forms Controls and change TextBox color based on cell color | Excel Programming |