Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Error with protected cells "Excel 2000 SP2"


Hi Guys

i have protected A worksheet, and all cells that can be ammended, hav
I unlocked.

All the macos have "application.activesheet.unprotect("")" etc ... whe
they run... however I get the "Runtime Error 1004" when I run it...

If I take of all protection, then the form and macros run perfectly..



Anyone know what the problem can be?

(PS!! The form works fine protected and unprotected in versions greate
then 2000 SP2)

Cheers, for all help guys

--
Ctec

-----------------------------------------------------------------------
Ctech's Profile: http://www.excelforum.com/member.php...fo&userid=2774
View this thread: http://www.excelforum.com/showthread.php?threadid=52954

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Error with protected cells "Excel 2000 SP2"

I ran your code in Excel 2000 (SP3, the version I have) on a sheet protected
but with no password. There was no error.

Btw, just providing the runtime error code is useless. There are thousands
of errors that produce the 1004 code. Providing the text of the error
message is much more helpful, but not quite as helpful as code that actually
errors out.


--
Jim
"Ctech" wrote in
message ...
|
| Hi Guys
|
| i have protected A worksheet, and all cells that can be ammended, have
| I unlocked.
|
| All the macos have "application.activesheet.unprotect("")" etc ... when
| they run... however I get the "Runtime Error 1004" when I run it...
|
| If I take of all protection, then the form and macros run perfectly...
|
|
|
| Anyone know what the problem can be?
|
| (PS!! The form works fine protected and unprotected in versions greater
| then 2000 SP2)
|
| Cheers, for all help guys.
|
|
| --
| Ctech
|
|
| ------------------------------------------------------------------------
| Ctech's Profile:
http://www.excelforum.com/member.php...o&userid=27745
| View this thread: http://www.excelforum.com/showthread...hreadid=529540
|


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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
"Locked for Editing" error on a non-protected file Jim Murray Excel Discussion (Misc queries) 1 March 8th 08 11:42 AM
Excel will not "show all" from an Advanced Filter on a sheet with protected cells. Gareth Surgenor Excel Programming 3 May 20th 04 10:48 PM
"Object Required" Error in Excel 2000 but Not in Excel 97 (!?) James Pannozzi Excel Programming 0 May 17th 04 11:39 PM
"Member Not Found" Error with Excel 2000 Paul Excel Programming 2 August 14th 03 03:22 PM


All times are GMT +1. The time now is 08:13 PM.

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"