locked cell issue

G

Gary Keramidas

i have some cells i have unlocked.

when i protect the worksheet, i can clear the unlocked cells
i can put values in the unlocked cells
but when i try to set the numberformat, it fails, "unable to set the format
property of the range class".
..NumberFormat = "#,##0.00"

unprotect the sheet, it works fine. and i know it's accessing the unlocked cell,
because if i step through, i can see the format change.
 
G

Guest

You can only enter or delete data in the unlocked cells of a protected sheet.
You cannot change the settings without unprotecting. The protection is to
prevent that type of change without the owner's knowledge.
 

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