Hello
Hopefully very easy to fix.. I would like this applicable to all cells with C2:C10000 and D2:1000
So if in cell C3 I change the cell to Y, D3 would update..
Works fine at the moment but on a cell C2.
Many thanks
Hopefully very easy to fix.. I would like this applicable to all cells with C2:C10000 and D2:1000
So if in cell C3 I change the cell to Y, D3 would update..
Works fine at the moment but on a cell C2.
Many thanks
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Sheets("Action Plan").Range("c2") = "Y" Then
Sheets("Action Plan").Range("D2") = "Key in the dependency ID"
Else
Sheets("Action Plan").Range("d2") = "N/A"
End If
End Sub