Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Enabling Spell Check in Protected Worksheet
Is there any way without using VBA to enable Spell Check in a Protected
Worksheet? Thanks, Barb Reinhardt |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Enabling Spell Check in Protected Worksheet
The only solution is to use the selection change event and check to see if
the current cell is locked. If not locked then unprotect the sheet. Something like this. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Me.Protect If Target.Count 1 Then Exit Sub If Target.Locked = False Then Me.Unprotect End Sub Note that the spell check can/will operate on the entire sheet so if there are spelling issues elsewhere in the sheet the user will be able to change the text of those cells. -- HTH... Jim Thomlinson "Barb Reinhardt" wrote: Is there any way without using VBA to enable Spell Check in a Protected Worksheet? Thanks, Barb Reinhardt |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Enabling Spell Check in Protected Worksheet
Not without VBA Barb.
Sub Spell_Check() ActiveSheet.Unprotect Password:="justme" Cells.CheckSpelling SpellLang:=1033 ActiveSheet.Protect Password:="justme", DrawingObjects:=True, _ Contents:=True, Scenarios:=True End Sub Unprotects the sheet, does the spellcheck then reprotects the sheet. "justme" can be changed to your password. Gord Dibben MS Excel MVP On Mon, 10 May 2010 07:55:01 -0700, Barb Reinhardt wrote: Is there any way without using VBA to enable Spell Check in a Protected Worksheet? Thanks, Barb Reinhardt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Spell check when worksheet is protected | Excel Discussion (Misc queries) | |||
Spell Check cells in Protected Worksheet? | Excel Discussion (Misc queries) | |||
How can I have a protected worksheet and have spell check ability | Excel Discussion (Misc queries) | |||
spell check for protected worksheet for Excel 97 | Excel Discussion (Misc queries) | |||
Why doesn't spell check work on a protected worksheet? | Excel Worksheet Functions |