kingleviathan
Board Regular
- Joined
- Aug 23, 2010
- Messages
- 57
Hi All</PRE>
I want to set a condition where is a cell changes value, another cell will go blank..</PRE>
I found this code..which work but it does the job too well. It seems </PRE>
to make C6 go blank if you merely click on C5, however, I want C6 to go blank only if you actually make a change to C5</PRE>
Can this be done?</PRE>
Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Target, Range("C5")) Is Nothing Then Exit Sub Else Sheets("Application Form").Range("C6") = "" End If End Sub </PRE>
I want to set a condition where is a cell changes value, another cell will go blank..</PRE>
I found this code..which work but it does the job too well. It seems </PRE>
to make C6 go blank if you merely click on C5, however, I want C6 to go blank only if you actually make a change to C5</PRE>
Can this be done?</PRE>
Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Target, Range("C5")) Is Nothing Then Exit Sub Else Sheets("Application Form").Range("C6") = "" End If End Sub </PRE>