I cannot use the spellcheck function on a protected sheet? HELP!
I cannot use the spellcheck function on a protected sheet? HELP!
Jimjam, one way,
Sub Spell_Check()
'spell check a protected sheet
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
"jimjam" <jimjam@discussions.microsoft.com> wrote in message
news:0F7B6186-75F3-4099-B5FF-3315E929B384@microsoft.com...
>I cannot use the spellcheck function on a protected sheet? HELP!
Hi Paul, thank you sooo much.
I don't want to be a bug, but where do I begin with that Sub Spell_Check ()??
I'm still a bit confused.
"Paul B" wrote:
> Jimjam, one way,
>
> Sub Spell_Check()
>
> 'spell check a protected sheet
>
> 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
>
>
> "jimjam" <jimjam@discussions.microsoft.com> wrote in message
> news:0F7B6186-75F3-4099-B5FF-3315E929B384@microsoft.com...
> >I cannot use the spellcheck function on a protected sheet? HELP!
>
>
>
To put in this macro, from your workbook right-click the workbook's icon and
pick View Code. This icon is to the left of the "File" menu this will open
the VBA editor, in Project Explorer click on your workbook name, if you
don't see it press CTRL + r to open the Project Explorer, then go to insert,
module, and paste the code in the window that opens on the right hand side,
press Alt and Q to close this window and go back to your workbook and press
alt and F8, this will bring up a box to pick the Macro from, click on the
Macro name to run it. If you are using excel 2000 or newer you may have to
change the macro security settings to get the macro to run. To change the
security settings go to tools, macro, security, security level and set it to
medium
And if you are new to macros you may also what to have a look here on
getting started with macros
http://www.mvps.org/dmcritchie/excel/getstarted.htm
--
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
"jimjam" <jimjam@discussions.microsoft.com> wrote in message
news:970B047D-0345-4A91-868B-328D31D66D07@microsoft.com...
> Hi Paul, thank you sooo much.
>
> I don't want to be a bug, but where do I begin with that Sub Spell_Check
> ()??
>
> I'm still a bit confused.
>
> "Paul B" wrote:
>
>> Jimjam, one way,
>>
>> Sub Spell_Check()
>>
>> 'spell check a protected sheet
>>
>> 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
>>
>>
>> "jimjam" <jimjam@discussions.microsoft.com> wrote in message
>> news:0F7B6186-75F3-4099-B5FF-3315E929B384@microsoft.com...
>> >I cannot use the spellcheck function on a protected sheet? HELP!
>>
>>
>>
I so appreciate your help. Have a great day!
"Paul B" wrote:
> To put in this macro, from your workbook right-click the workbook's icon and
> pick View Code. This icon is to the left of the "File" menu this will open
> the VBA editor, in Project Explorer click on your workbook name, if you
> don't see it press CTRL + r to open the Project Explorer, then go to insert,
> module, and paste the code in the window that opens on the right hand side,
> press Alt and Q to close this window and go back to your workbook and press
> alt and F8, this will bring up a box to pick the Macro from, click on the
> Macro name to run it. If you are using excel 2000 or newer you may have to
> change the macro security settings to get the macro to run. To change the
> security settings go to tools, macro, security, security level and set it to
> medium
>
>
>
> And if you are new to macros you may also what to have a look here on
> getting started with macros
>
> http://www.mvps.org/dmcritchie/excel/getstarted.htm
>
>
> --
> 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
>
>
> "jimjam" <jimjam@discussions.microsoft.com> wrote in message
> news:970B047D-0345-4A91-868B-328D31D66D07@microsoft.com...
> > Hi Paul, thank you sooo much.
> >
> > I don't want to be a bug, but where do I begin with that Sub Spell_Check
> > ()??
> >
> > I'm still a bit confused.
> >
> > "Paul B" wrote:
> >
> >> Jimjam, one way,
> >>
> >> Sub Spell_Check()
> >>
> >> 'spell check a protected sheet
> >>
> >> 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
> >>
> >>
> >> "jimjam" <jimjam@discussions.microsoft.com> wrote in message
> >> news:0F7B6186-75F3-4099-B5FF-3315E929B384@microsoft.com...
> >> >I cannot use the spellcheck function on a protected sheet? HELP!
> >>
> >>
> >>
>
>
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks