Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dvs_47
 
Posts: n/a
Default spell checking options

With a worksheet protected, is there a way to spell check entries in cells
that are not protected?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Paul B
 
Posts: n/a
Default spell checking options

dvs, Not without VBA, you could use some code to unprotect the sheet run
spell check and then protect the sheet like this

Sub Spell_Check()

Const Password = "123" '**Change password here**

ActiveSheet.Unprotect Password:=Password

Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _

, AlwaysSuggest:=True

ActiveSheet.Protect Password:=Password

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


"dvs_47" wrote in message
...
With a worksheet protected, is there a way to spell check entries in cells
that are not protected?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default spell checking options

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 Mon, 6 Mar 2006 09:34:39 -0800, dvs_47
wrote:

With a worksheet protected, is there a way to spell check entries in cells
that are not protected?


Gord Dibben MS Excel MVP
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 checking and thesaurus in different language Bernhard Excel Discussion (Misc queries) 0 January 9th 06 12:01 AM
Spell Checking an Excel Form akkrug New Users to Excel 1 October 27th 05 03:59 PM
How do I set Save Options? DeweyG Excel Discussion (Misc queries) 1 September 14th 05 01:35 AM
Spell Checking - Special Words Not Picked Up by Excel Hans Emilio Excel Discussion (Misc queries) 4 May 25th 05 02:25 PM
spell check protected document Sportingspaniel Excel Discussion (Misc queries) 1 January 10th 05 11:40 AM


All times are GMT +1. The time now is 10:42 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"