Allowing spell check on protected worksheets

  • Thread starter Allowing spell check on protected worksh
  • Start date
A

Allowing spell check on protected worksh

Allow spell check for protected cells in a protected worksheet in Excel? I
wan to be able to spell check on protected cells that have a password
protection on the sheet(s).

Thanks,
Hans
 
P

Paul B

Hans, here is a way, unprotect the sheet checks the spelling and then
protects the sheet

Sub Spell_Check()

'spell check a protected sheet

ActiveSheet.Unprotect password:="123"

Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _

, AlwaysSuggest:=True

ActiveSheet.Protect password:="123"

End Sub
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"Allowing spell check on protected worksh" <Allowing spell check on
protected [email protected]> wrote in message
news:[email protected]...
 
Top