ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   Allowing spell check on protected worksheets (https://www.excelbanter.com/setting-up-configuration-excel/12166-allowing-spell-check-protected-worksheets.html)

Allowing spell check on protected worksh

Allowing spell check on protected worksheets
 
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

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 wrote in message
...
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





All times are GMT +1. The time now is 08:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com