Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a spreadsheet that allows users to enter text into unlocked cells. I
have protection set to allow users to "Select unlocked cells". This is the only protection option selected. However, for some reason the "Select locked cells" option is becoming checked. For obvious reasons I don't want data entered into locked cells. The spreadsheet does use a macro for spell checking the sheet. I suspect the issue has somthing to do with the spell check macro, but haven't been able to duplicate it. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Harold,
You can't spell check a locked sheet in the usual way (Tools|Spelling) so your spell check macro is (maybe) un-protecting the sheet doing the spell check and re-protecting but getting that re-protection wrong. Just a point, the fact that a user can select a locked cell doesn't mean they can update it. Why not post the spell check macro? Mike "Harold F" wrote: I have a spreadsheet that allows users to enter text into unlocked cells. I have protection set to allow users to "Select unlocked cells". This is the only protection option selected. However, for some reason the "Select locked cells" option is becoming checked. For obvious reasons I don't want data entered into locked cells. The spreadsheet does use a macro for spell checking the sheet. I suspect the issue has somthing to do with the spell check macro, but haven't been able to duplicate it. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Mike
I run the spell check macro and protection remains as set. However the next day after several users have entered data the protection changes to allow users to "Select locked cells. I posted the macro below,"*****" represents the password ' ActiveSheet.Unprotect "******" Application.Goto Reference:="Print_Area" Selection.CheckSpelling SpellLang:=1033 ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _ , AllowInsertingRows:=False, AllowDeletingRows:=False ActiveSheet.Protect Password:="******" End Sub "Mike H" wrote: Harold, You can't spell check a locked sheet in the usual way (Tools|Spelling) so your spell check macro is (maybe) un-protecting the sheet doing the spell check and re-protecting but getting that re-protection wrong. Just a point, the fact that a user can select a locked cell doesn't mean they can update it. Why not post the spell check macro? Mike "Harold F" wrote: I have a spreadsheet that allows users to enter text into unlocked cells. I have protection set to allow users to "Select unlocked cells". This is the only protection option selected. However, for some reason the "Select locked cells" option is becoming checked. For obvious reasons I don't want data entered into locked cells. The spreadsheet does use a macro for spell checking the sheet. I suspect the issue has somthing to do with the spell check macro, but haven't been able to duplicate it. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell Protection vs. Worksheet Protection | Excel Discussion (Misc queries) | |||
how do I add more toolbar options to my right click options | Excel Discussion (Misc queries) | |||
Worksheet protection is gone and only wokbook protection can be se | Excel Discussion (Misc queries) | |||
Web Options? | Excel Discussion (Misc queries) | |||
FTP options | Excel Discussion (Misc queries) |