Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Error desipite UserInterfaceOnly in protection - Why?

I have protected the sheet with " UserInterfaceOnly:=True" and still, I
get - Sometimes! - error onfollowing line:

If
ActiveSheet.Range("D2:M2").SpecialCells(xlCellType Visible).Cells.Count
< _
Sheet2.Range("Years").Value Then

I don't know why, I get error and if I run the worksheet_activate event
again, it passes without a problem.

Please advice, this leavs me without a clue. Under what circumstances
doesn't "UserInterfaceOnly" cover events?


Regards,
tskogstrom

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
UserInterfaceOnly & Password Protection D.Parker Excel Discussion (Misc queries) 6 October 9th 07 09:46 PM
protection using UserInterfaceOnly Learner[_4_] Excel Programming 2 November 15th 06 11:49 PM
Excel 2003 Userinterfaceonly Password Protection Problem [email protected] Excel Programming 1 June 8th 05 06:13 PM
question about worksheet protection using userinterfaceonly:=true David Brisco Excel Programming 0 February 9th 04 09:25 PM
Protection UserInterfaceOnly reading Hidden Formulas Rik Ditter Excel Programming 1 July 12th 03 12:50 PM


All times are GMT +1. The time now is 10:14 AM.

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"