Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
change color
i have merged cell in this rang, when sheet is protecetd (cells B2:J4 are
obviously not) the following does not work Any ideas Range("B2:J4").Interior.ColorIndex = 36 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
change color
Hi
It won't change the interior even if it is not merged. I don't know why - bug maybe? You could remove the password, change the interior then put back the password With ActiveWorkbook . Unprotect Password:="myPassword" .Range("B2:J4").Interior.ColorIndex = 36 .Protect end with regards Paul On Apr 30, 1:45*pm, "sunilpatel" wrote: i have merged cell in this rang, when sheet is protecetd (cells B2:J4 are obviously not) the following does not work Any ideas Range("B2:J4").Interior.ColorIndex = 36 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Checkbox to change background color, font color and remove/ add bo | Excel Discussion (Misc queries) | |||
Macro to change color of tab based on color of cell | Excel Programming | |||
change fill color of a range of cells based on color of a cell? | Excel Programming | |||
How to change the default Border, Font Color, and Cell Color | Excel Discussion (Misc queries) | |||
Browse Forms Controls and change TextBox color based on cell color | Excel Programming |