Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell check when worksheet is protected Brian Excel Discussion (Misc queries) 3 May 9th 08 01:18 AM
Spell Check cells in Protected Worksheet? Jugglertwo Excel Discussion (Misc queries) 1 July 27th 06 08:27 PM
How can I have a protected worksheet and have spell check ability Moe Green Excel Discussion (Misc queries) 1 March 30th 06 11:43 PM
spell check for protected worksheet for Excel 97 Jessica Excel Discussion (Misc queries) 1 March 18th 05 05:48 PM
Why doesn't spell check work on a protected worksheet? Creating Order Forms is Fun Excel Worksheet Functions 6 December 22nd 04 07:34 PM


All times are GMT +1. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"