Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 150
Default Protected sheet: Automation error for validation

Hi,

I have a protected worksheet with column J locked. This worksheet has
worksheet_change event coding for calculating values in column j
depending on values in previous columns. I am using Worksheet.protect
method in the worksheet_change code to input values in the locked
column J.

Column A (unlocked cells) of the protected worksheet has a validation
object which gives a drop down list in column A.It works properly till
another sheet in the workbook is activated. When the protected sheet
is activated again after activating another sheet, the validation
object in Column A gives an "Automation error". If I unprotect the
sheet through the user interface then the validation starts working
again.

How do I overcome this problem?

Thanks in advance for the help.

Regards,
Raj


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
Automation error with validation object Raj[_2_] Excel Programming 1 May 28th 08 06:20 PM
Adding validation fails with automation error [email protected] Excel Programming 4 February 13th 08 08:30 PM
Validation error when worksheet is protected Tom Emmery[_2_] Excel Programming 2 September 7th 07 09:54 PM
1004 Cell Protected Error for data validation lists when locked and protected [email protected] Excel Programming 2 November 7th 06 10:07 AM
Apply Validation on a protected sheet Frederick Chow Excel Discussion (Misc queries) 0 January 3rd 06 05:56 PM


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