For each c in selection
if c.interior.colorindex = x then
c.locked = false
end if
next
where x is the colorindex for the specific yellow that you have
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
btw - the reason PHV was asking that question (and I should've asked myself) is that if a cell is coloured by the conditional formatting applied to a cell, the routine I posted won't work as the interior.colorindex does not get changed by the conditional formatting
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.