Lock cells without protecting sheet?

G

Guest

Is there a way to lock (or something like it) cells in a sheet without
protecting the whole sheet? I've got some cells that need to locked from
users changing the formulae, but cannot protect the sheet because I'm also
using the outlining feature (grouping) to expand and collapse rows.

I guess an alternative question would be....is there a way to use the
outlining feature in a protected sheet?
 
B

Bernie Deitrick

RBee,

You could use the worksheetchange event to try to protect those cells from changes. However, if the
workbook is opened with macros disabled, then you are out of luck.

HTH,
Bernie
MS Excel MVP
 
B

Blue Hornet

You could apply protection the the sheet, after leaving some cells
unprotected, then use buttons to call a macro which unprotects /
modifies display / applies protection again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top