Allowing spell check on protected worksheets

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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 (e-mail address removed)> wrote in message
news:[email protected]...
 
Back
Top