Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

checkbox in a protected worksheet

2,865 views
Skip to first unread message

Wixom@discussions.microsoft.com Eric Wixom

unread,
Jan 10, 2008, 2:47:15 PM1/10/08
to
I need to protect a work sheet that has checkbox's in it. Once protected
though there is a warning screen that pops up every time you click on a check
box that states "The cell or chart you are trying to change is protected and
therefore read only." The checkbox is unlocked, as well as the cell it is
displayed in. The checkbox is still checked/unchecked, but I don't want the
popup to appear.

Any way around this?

ShaneDevenshire

unread,
Jan 10, 2008, 4:40:04 PM1/10/08
to
Hi Eric,

with a Form control -
The checkbox results are linked to a cell, that cell needs to have its
Locked property set to off. Format, Cells, Protection.

with a Control Toolbox control -
Alternatively, you can code the action of the checkbox with VBA. In that
case protect the sheet using vba:

Sub myProtect()
Sheet1.Protect userinterfaceonly:=True
End Sub


--
Cheers,
Shane Devenshire

Eric Wixom

unread,
Jan 11, 2008, 11:15:01 AM1/11/08
to
Genius! I can’t believe I didn’t think of that!

Thank you!

0 new messages