Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Protection Options Changes

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Protection Options Changes

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Protection Options Changes

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
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
Cell Protection vs. Worksheet Protection kmwhitt Excel Discussion (Misc queries) 4 September 24th 06 02:37 AM
how do I add more toolbar options to my right click options Rosie Excel Discussion (Misc queries) 1 August 11th 06 04:52 PM
Worksheet protection is gone and only wokbook protection can be se Eric C. Excel Discussion (Misc queries) 4 May 2nd 06 04:50 PM
Web Options? nastech Excel Discussion (Misc queries) 0 November 16th 05 05:13 PM
FTP options Kosta Excel Discussion (Misc queries) 2 March 23rd 05 04:03 AM


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