Thread: Macro help
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Whitney Whitney is offline
external usenet poster
 
Posts: 40
Default Macro help

I'm new to macros, could some explain how I can use this macro to allow spell
check when a sheet is protected?

Using a macro is the only work around that I know of.

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 Sun, 10 Feb 2008 14:32:00 -0800, Brian
wrote:

I made a spread sheet for work the has some cells protected then a password.
But once I enable the password, the spell check cannot be used.

Any help would be appreciated