ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I have a protected worksheet and have spell check ability (https://www.excelbanter.com/excel-discussion-misc-queries/80631-how-can-i-have-protected-worksheet-have-spell-check-ability.html)

Moe Green

How can I have a protected worksheet and have spell check ability
 
I have a worksheet that is used as a form that several people enter data into
and they would like to be able to spellcheck what they enter into the
unprotected cells.

I have certain cells unlocked then I protected the worksheet, only enabling
"Selecting of Unlocked Cells" in the protect sheet options. However, the
Spellcheck functionality is no longer able to be used in the spreadsheet once
it's protected.

Is there an option that will protect the worksheet and still allow
spellcheck of the unlocked cells?

Gord Dibben

How can I have a protected worksheet and have spell check ability
 
Moe

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

On Thu, 30 Mar 2006 11:52:01 -0800, Moe Green <Moe
wrote:

I have a worksheet that is used as a form that several people enter data into
and they would like to be able to spellcheck what they enter into the
unprotected cells.

I have certain cells unlocked then I protected the worksheet, only enabling
"Selecting of Unlocked Cells" in the protect sheet options. However, the
Spellcheck functionality is no longer able to be used in the spreadsheet once
it's protected.

Is there an option that will protect the worksheet and still allow
spellcheck of the unlocked cells?


Gord Dibben MS Excel MVP


All times are GMT +1. The time now is 01:20 AM.

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