Hi.
Here is my situation.
I have a workbook with some sheets (sample as a attachment).
I want all the cells that aren't empty (!= "") to be Locked, and all other UnLocked, so when I protect it only unlocked cells could be modified.
Another solution that is 100% satisfying (and which I've been trying to figure out) is to Lock a minimum rectangle that covers all the non-empty cells (in the attached .xls coloured with yellow).
So far I've written this:
First Loop DOES work, but the second Locks more than needed (sometimes) and It's the main problem I've been experiencing.
Please Help, thanks in advance.
Mike
Bookmarks