Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Finding locked cells
I've got a large spreadsheet used by many people. I need to find all the
cells which are locked, and either return a list of these cells or change the color of them (but this part I can do myself). Is there a function which finds locked cells? Thanks, Georgina ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Finding locked cells
Nothing better than looping
for each cell in usedrange if cell.locked then if rng = nothing then set rng = cell else set rng = union(rng, cell) end if end if Next if not rng is nothing then ' do whatever End if -- regards, Tom Ogilvy georgina wrote in message ... I've got a large spreadsheet used by many people. I need to find all the cells which are locked, and either return a list of these cells or change the color of them (but this part I can do myself). Is there a function which finds locked cells? Thanks, Georgina ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Locked worksheet & hyperlinks (w/ select locked cells unchecked) | Excel Discussion (Misc queries) | |||
Locked cells | Excel Discussion (Misc queries) | |||
Finding all cells that are locked/hidden | Excel Discussion (Misc queries) | |||
paste locked cells and unlocked cells in protected sheet | Excel Worksheet Functions | |||
Put comments on a locked spreadsheet even though cells not locked | Excel Worksheet Functions |