Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default protection violation with ScreenUpdating change

I'm totally baffled. I have code for a worksheet_change event that begins
with "Application.ScreenUpdating = False". It's been working just great for
a long time and through all kinds of changes to the file and code. The
worksheet is protected only for contents and structure with UserInterfaceOnly
set to true, so the forms and modules can make changes without unprotecting.

Now all of a sudden, I'm getting a 1004 error on the ScreenUpdating
statement, saying the sheet I'm trying to change is protected. Can someone
enlighten me how the heck sheet protection has anything to do with
ScreenUpdating? And why would this come up at all if UserInterfaceOnly is
set to true?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default protection violation with ScreenUpdating change

and one other puzzling thing about it... after choosing to debug and am on
this statement, I can step right through it with no error.

"B Lynn B" wrote:

I'm totally baffled. I have code for a worksheet_change event that begins
with "Application.ScreenUpdating = False". It's been working just great for
a long time and through all kinds of changes to the file and code. The
worksheet is protected only for contents and structure with UserInterfaceOnly
set to true, so the forms and modules can make changes without unprotecting.

Now all of a sudden, I'm getting a 1004 error on the ScreenUpdating
statement, saying the sheet I'm trying to change is protected. Can someone
enlighten me how the heck sheet protection has anything to do with
ScreenUpdating? And why would this come up at all if UserInterfaceOnly is
set to true?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default protection violation with ScreenUpdating change

Seem like sometimes they have a mind of their own. <g



"B Lynn B" wrote in message
...
and one other puzzling thing about it... after choosing to debug and am
on
this statement, I can step right through it with no error.

"B Lynn B" wrote:

I'm totally baffled. I have code for a worksheet_change event that
begins
with "Application.ScreenUpdating = False". It's been working just great
for
a long time and through all kinds of changes to the file and code. The
worksheet is protected only for contents and structure with
UserInterfaceOnly
set to true, so the forms and modules can make changes without
unprotecting.

Now all of a sudden, I'm getting a 1004 error on the ScreenUpdating
statement, saying the sheet I'm trying to change is protected. Can
someone
enlighten me how the heck sheet protection has anything to do with
ScreenUpdating? And why would this come up at all if UserInterfaceOnly
is
set to true?



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
How to change format protection default to unlocked? Joe User[_2_] Excel Discussion (Misc queries) 2 December 17th 09 05:19 PM
Change protection of a shared workbook (Excel 2000) Farfel Excel Discussion (Misc queries) 0 December 18th 08 07:29 PM
sharing violation HTWB Excel Discussion (Misc queries) 1 December 3rd 07 08:13 AM
Is there any protection change event? Alice Graham Excel Programming 6 March 15th 07 03:21 PM
SLA violation alerts asim Excel Discussion (Misc queries) 6 June 19th 06 09:27 PM


All times are GMT +1. The time now is 03:13 AM.

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"