Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Watch to Trap Protected Sheet (Repost)

I am somehow protecting a sheet when I run some code. Can't figure out how I
am doing it. Can I set up a Watch to tell me when/how this is happening?

Thanks

P.S. There are only two sheets in the file.
  #2   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Watch to Trap Protected Sheet (Repost)

If ActiveSheet.Protect = True
is protecting your worksheet.

I don't believe protect is a property. I'm not sure what the property is to
test for a protected sheet. ProtectContents can check to see if the contents
of a sheet are protected. Will that work for what you are doing? Otherwise,
best advice I can give you is to check VBA help on protection.

"ExcelMonkey" wrote:

I am somehow protecting a sheet when I run some code. Can't figure out how I
am doing it. Can I set up a Watch to tell me when/how this is happening?

Thanks

P.S. There are only two sheets in the file.

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
Trap Sheet Name Change Otto Moehrbach[_6_] Excel Programming 6 October 25th 04 11:58 PM
How can i trap the rename event of an excel sheet? bmm Excel Programming 4 August 10th 04 03:51 PM
excel - macro code to open a protected sheet, enter passowrd, and then protect sheet arunjoshi[_5_] Excel Programming 1 May 2nd 04 03:50 PM
Error trap the renaming of a sheet to an existing one Newbie Excel Programming 4 April 14th 04 07:46 AM
Repost:replacing data on a non focused worksheet with calculated data from the same sheet BruceJ[_2_] Excel Programming 0 November 11th 03 02:39 AM


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