Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I enable the spellchecker in a protected worksheet?

I need to protect the formulae in the workshee, but also allow the users to
use the spellchecker. Protecting the sheet disables the spellchecker - how do
I get round this. There is no 'EnableSpellchecker' method, so I'm stuck!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default How do I enable the spellchecker in a protected worksheet?

Anne, you could assign this to a button, unprotect the sheet check the
spelling and then protect the sheet

Sub Spell_Check()
ActiveSheet.Unprotect password:="123"
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True
ActiveSheet.Protect password:="123"
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

"Anne CFS" <Anne wrote in message
...
I need to protect the formulae in the workshee, but also allow the users

to
use the spellchecker. Protecting the sheet disables the spellchecker - how

do
I get round this. There is no 'EnableSpellchecker' method, so I'm stuck!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How do I enable the spellchecker in a protected worksheet?

Thanks Paul, but I obviously didn't make myself clear. I've created a report
template which goes out to users for a weekly update. The report is complex
and full of formulae which I want to protect. The users want to be able to
use the spellchecker, but I am not willing to let them have an unprotected
spreadsheet, so I don't want to let them unprotect to spellcheck and then
re-protect it. I'm looking for a way round the fact that protecting the
sheet disables the spellchecker - if such an animal exists.

Do you think I can do a work around based on a mouse-click on the
spellchecker icon to unprotect and the OK on the spellchecker's final
dialogue box to protect again?
Thanks for your help!

"Paul B" wrote:

Anne, you could assign this to a button, unprotect the sheet check the
spelling and then protect the sheet

Sub Spell_Check()
ActiveSheet.Unprotect password:="123"
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True
ActiveSheet.Protect password:="123"
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

"Anne CFS" <Anne wrote in message
...
I need to protect the formulae in the workshee, but also allow the users

to
use the spellchecker. Protecting the sheet disables the spellchecker - how

do
I get round this. There is no 'EnableSpellchecker' method, so I'm stuck!!




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default How do I enable the spellchecker in a protected worksheet?

Anne, did you try the code? The code I posted when run will unprotect the
sheet, check the spelling and then protect the sheet, with the password 123,
the user will never see that the sheet is being unprotected, when the spell
check is complete or it is canceled the sheet will be protected again. Looks
like line wrap got the code I posted, this one you should be able to copy
and paste.Any other questions post back.

Sub Spell_Check()
ActiveSheet.Unprotect Password:="123"
Cells.CheckSpelling _
CustomDictionary:="CUSTOM.DIC", _
IgnoreUppercase:=False, _
AlwaysSuggest:=True
ActiveSheet.Protect Password:="123"
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

"Anne CFS" wrote in message
...
Thanks Paul, but I obviously didn't make myself clear. I've created a

report
template which goes out to users for a weekly update. The report is

complex
and full of formulae which I want to protect. The users want to be able

to
use the spellchecker, but I am not willing to let them have an unprotected
spreadsheet, so I don't want to let them unprotect to spellcheck and then
re-protect it. I'm looking for a way round the fact that protecting the
sheet disables the spellchecker - if such an animal exists.

Do you think I can do a work around based on a mouse-click on the
spellchecker icon to unprotect and the OK on the spellchecker's final
dialogue box to protect again?
Thanks for your help!

"Paul B" wrote:

Anne, you could assign this to a button, unprotect the sheet check the
spelling and then protect the sheet

Sub Spell_Check()
ActiveSheet.Unprotect password:="123"
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True
ActiveSheet.Protect password:="123"
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

"Anne CFS" <Anne wrote in message
...
I need to protect the formulae in the workshee, but also allow the

users
to
use the spellchecker. Protecting the sheet disables the spellchecker -

how
do
I get round this. There is no 'EnableSpellchecker' method, so I'm

stuck!!





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How do I enable the spellchecker in a protected worksheet?

Hi Paul,

Yes I finally got to reading rather than scanning your reply and it will do
what I want. I'm now trying to create a button when the sheet opens and
delete it when the sheet closes. I'm working on it at the moment, and then
your reply should solve my problem. Thanks for your help - and sorry for
being a numpty first time round!!

Anne

"Paul B" wrote:

Anne, did you try the code? The code I posted when run will unprotect the
sheet, check the spelling and then protect the sheet, with the password 123,
the user will never see that the sheet is being unprotected, when the spell
check is complete or it is canceled the sheet will be protected again. Looks
like line wrap got the code I posted, this one you should be able to copy
and paste.Any other questions post back.

Sub Spell_Check()
ActiveSheet.Unprotect Password:="123"
Cells.CheckSpelling _
CustomDictionary:="CUSTOM.DIC", _
IgnoreUppercase:=False, _
AlwaysSuggest:=True
ActiveSheet.Protect Password:="123"
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

"Anne CFS" wrote in message
...
Thanks Paul, but I obviously didn't make myself clear. I've created a

report
template which goes out to users for a weekly update. The report is

complex
and full of formulae which I want to protect. The users want to be able

to
use the spellchecker, but I am not willing to let them have an unprotected
spreadsheet, so I don't want to let them unprotect to spellcheck and then
re-protect it. I'm looking for a way round the fact that protecting the
sheet disables the spellchecker - if such an animal exists.

Do you think I can do a work around based on a mouse-click on the
spellchecker icon to unprotect and the OK on the spellchecker's final
dialogue box to protect again?
Thanks for your help!

"Paul B" wrote:

Anne, you could assign this to a button, unprotect the sheet check the
spelling and then protect the sheet

Sub Spell_Check()
ActiveSheet.Unprotect password:="123"
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True
ActiveSheet.Protect password:="123"
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

"Anne CFS" <Anne wrote in message
...
I need to protect the formulae in the workshee, but also allow the

users
to
use the spellchecker. Protecting the sheet disables the spellchecker -

how
do
I get round this. There is no 'EnableSpellchecker' method, so I'm

stuck!!








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do I enable the spellchecker in a protected worksheet?

Paul B., how do you insert this code and where is it inserted? A co-worker
is trying to follow your instructions and it's not working.

"Paul B" wrote:

Anne, did you try the code? The code I posted when run will unprotect the
sheet, check the spelling and then protect the sheet, with the password 123,
the user will never see that the sheet is being unprotected, when the spell
check is complete or it is canceled the sheet will be protected again. Looks
like line wrap got the code I posted, this one you should be able to copy
and paste.Any other questions post back.

Sub Spell_Check()
ActiveSheet.Unprotect Password:="123"
Cells.CheckSpelling _
CustomDictionary:="CUSTOM.DIC", _
IgnoreUppercase:=False, _
AlwaysSuggest:=True
ActiveSheet.Protect Password:="123"
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

"Anne CFS" wrote in message
...
Thanks Paul, but I obviously didn't make myself clear. I've created a

report
template which goes out to users for a weekly update. The report is

complex
and full of formulae which I want to protect. The users want to be able

to
use the spellchecker, but I am not willing to let them have an unprotected
spreadsheet, so I don't want to let them unprotect to spellcheck and then
re-protect it. I'm looking for a way round the fact that protecting the
sheet disables the spellchecker - if such an animal exists.

Do you think I can do a work around based on a mouse-click on the
spellchecker icon to unprotect and the OK on the spellchecker's final
dialogue box to protect again?
Thanks for your help!

"Paul B" wrote:

Anne, you could assign this to a button, unprotect the sheet check the
spelling and then protect the sheet

Sub Spell_Check()
ActiveSheet.Unprotect password:="123"
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True
ActiveSheet.Protect password:="123"
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

"Anne CFS" <Anne wrote in message
...
I need to protect the formulae in the workshee, but also allow the

users
to
use the spellchecker. Protecting the sheet disables the spellchecker -

how
do
I get round this. There is no 'EnableSpellchecker' method, so I'm

stuck!!






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default How do I enable the spellchecker in a protected worksheet?

Does this work
--
Mark


"Paul B" wrote:

Anne, did you try the code? The code I posted when run will unprotect the
sheet, check the spelling and then protect the sheet, with the password 123,
the user will never see that the sheet is being unprotected, when the spell
check is complete or it is canceled the sheet will be protected again. Looks
like line wrap got the code I posted, this one you should be able to copy
and paste.Any other questions post back.

Sub Spell_Check()
ActiveSheet.Unprotect Password:="123"
Cells.CheckSpelling _
CustomDictionary:="CUSTOM.DIC", _
IgnoreUppercase:=False, _
AlwaysSuggest:=True
ActiveSheet.Protect Password:="123"
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

"Anne CFS" wrote in message
...
Thanks Paul, but I obviously didn't make myself clear. I've created a

report
template which goes out to users for a weekly update. The report is

complex
and full of formulae which I want to protect. The users want to be able

to
use the spellchecker, but I am not willing to let them have an unprotected
spreadsheet, so I don't want to let them unprotect to spellcheck and then
re-protect it. I'm looking for a way round the fact that protecting the
sheet disables the spellchecker - if such an animal exists.

Do you think I can do a work around based on a mouse-click on the
spellchecker icon to unprotect and the OK on the spellchecker's final
dialogue box to protect again?
Thanks for your help!

"Paul B" wrote:

Anne, you could assign this to a button, unprotect the sheet check the
spelling and then protect the sheet

Sub Spell_Check()
ActiveSheet.Unprotect password:="123"
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True
ActiveSheet.Protect password:="123"
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

"Anne CFS" <Anne wrote in message
...
I need to protect the formulae in the workshee, but also allow the

users
to
use the spellchecker. Protecting the sheet disables the spellchecker -

how
do
I get round this. There is no 'EnableSpellchecker' method, so I'm

stuck!!






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
Enable code in a password protected worksheet Barattolo_67 Excel Discussion (Misc queries) 3 February 14th 10 12:51 PM
how to enable formula auditing in a protected worksheet? Theo Excel Worksheet Functions 2 January 13th 08 05:30 PM
Enable outlining in a protected worksheet johnb Excel Discussion (Misc queries) 8 October 12th 07 08:15 PM
enable autofilter in a protected worksheet in Excel 97 WooGHeR Excel Worksheet Functions 1 March 25th 05 04:44 PM
How to enable font color on protected worksheet? dlterry Excel Discussion (Misc queries) 3 January 28th 05 11:19 PM


All times are GMT +1. The time now is 08:15 PM.

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

About Us

"It's about Microsoft Excel"