If your request is for a reply, I did reply.

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguille...@gmail.com

From: Abdulgani Shaikh 
Sent: Saturday, April 14, 2012 5:18 AM
To: excel-macros@googlegroups.com 
Subject: Re: $$Excel-Macros$$ If date in One then another cell to be unlock

Pl.reply


On Sat, Apr 14, 2012 at 2:02 PM, Abdulgani Shaikh <itpabdulg...@gmail.com> 
wrote:

  I have pasted this in Excel, but it is not working, pl.find attached file, 
where i am wrong ? 
  Regards



  On Sat, Apr 14, 2012 at 12:38 PM, Rajan_Verma <rajanverma1...@gmail.com> 
wrote:

    Hi,

    You can try this :



    Private Sub Worksheet_Change(ByVal Target As Range)



        If Target.Address = "$C$3" Then

            Me.Unprotect

            If Target.Value = 0 Or Len(Target.Value) = 0 Then

            Range("E3").Locked = False

            Else

            Range("E3").Locked = True

            End If

        End If

        Me.Protect

    End Sub





    From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] 
On Behalf Of ITP Abdulgani Shaikh
    Sent: Apr/Sat/2012 12:23
    To: excel-macros@googlegroups.com
    Subject: Re: $$Excel-Macros$$ If date in One then another cell to be unlock



    Pl.find attached sample file

    On Sat, Apr 14, 2012 at 12:19 PM, ITP Abdulgani Shaikh 
<itpabdulg...@gmail.com> wrote:

    Dear Freinds, 



    Please help me on following issue



    My worksheet is protected, out of all cells, some cells are unprotected for 
entering data.

    If I am entering data in Cell C3 then Cell E3 should be auto unlock the 
cell.

    and if there is no data in Cell C3 or zero in C3 then Cell E3 should be 
auto locked.



    Regards



    -- 
    FORUM RULES (986+ members already BANNED for violation)
     
    1) Use concise, accurate thread titles. Poor thread titles, like Please 
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will 
not get quick attention or may not be answered.
     
    2) Don't post a question in the thread of another member.
     
    3) Don't post questions regarding breaking or bypassing any security 
measure.
     
    4) Acknowledge the responses you receive, good or bad.
     
    5) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
     
    NOTE : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
     
    
------------------------------------------------------------------------------------------------------
    To post to this group, send email to excel-macros@googlegroups.com







    -- 
    Shaikh AbdulGani A R
    ITP, STP, TRP, STRP

    -- 
    FORUM RULES (986+ members already BANNED for violation)
     
    1) Use concise, accurate thread titles. Poor thread titles, like Please 
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will 
not get quick attention or may not be answered.
     
    2) Don't post a question in the thread of another member.
     
    3) Don't post questions regarding breaking or bypassing any security 
measure.
     
    4) Acknowledge the responses you receive, good or bad.
     
    5) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
     
    NOTE : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
     
    
------------------------------------------------------------------------------------------------------
    To post to this group, send email to excel-macros@googlegroups.com

    -- 
    FORUM RULES (986+ members already BANNED for violation)
     
    1) Use concise, accurate thread titles. Poor thread titles, like Please 
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will 
not get quick attention or may not be answered.
     
    2) Don't post a question in the thread of another member.
     
    3) Don't post questions regarding breaking or bypassing any security 
measure.
     
    4) Acknowledge the responses you receive, good or bad.
     
    5) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
     
    NOTE : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
     
    
------------------------------------------------------------------------------------------------------
    To post to this group, send email to excel-macros@googlegroups.com



-- 
FORUM RULES (986+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
 
------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Attachment: ShBook1.xls
Description: MS-Excel spreadsheet

Reply via email to