protected linked cell

  • Thread starter Thread starter ranswert
  • Start date Start date
R

ranswert

I have a checkbox linked to a protected cell so I can't change the value in
it. How do i get it to work without unlocking it? I don't want it to be
selected when sheet is protected.
 
ranswert said:
I have a checkbox linked to a protected cell so I can't change the value in
it. How do i get it to work without unlocking it? I don't want it to be
selected when sheet is protected.

Hi

Unprotect the sheet from the macro, pass the value, then protect the sheet
again.

sheets(1).unprotect Password:="Pass"
range("A1").value=me.checkbox1.value
sheets(1).protect Password:="Pass", DrawingObjects:=True, Contents:=True,
Scenarios:=True

//Per
 
Is there another way to do this without having to protect and unprotect the
sheet each time the checkbox is checked.
 

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

Back
Top