Spell check in a protected sheet

G

Guest

I built a form which includes numerous check boxes and text boxes. Due to
the sensitivity of the forumals, I have protected the sheet. Unfortunately,
my end users are unable to access the spell check function as a result.

Is there any way to protect the worksheet without disabling the spell check
feature in text boxes? Any help you guys can provide would be appreciated.

Thanks in advance.
 
G

Gord Dibben

You can use this macro to unprotect, run the spellcheck, then re-protect the
sheet.


Sub Spell_Check()
ActiveSheet.Unprotect Password:="justme"
Cells.CheckSpelling SpellLang:=1033
ActiveSheet.Protect Password:="justme", DrawingObjects:=True, _
Contents:=True, Scenarios:=True
End Sub


Gord Dibben Excel MVP

I built a form which includes numerous check boxes and text boxes. Due to
the sensitivity of the forumals, I have protected the sheet. Unfortunately,
my end users are unable to access the spell check function as a result.

Is there any way to protect the worksheet without disabling the spell check
feature in text boxes? Any help you guys can provide would be appreciated.

Thanks in advance.

Gord Dibben MS Excel MVP
 

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