Hi friends,
I am trying to achieve a sheet change event not succeeded. for example when I change value in D7 of Sheet Entry, I wanted to change the F10 of Sheet Calculation to the same value in D7. file is attached for your reference. Appreciate any help
I am trying to achieve a sheet change event not succeeded. for example when I change value in D7 of Sheet Entry, I wanted to change the F10 of Sheet Calculation to the same value in D7. file is attached for your reference. Appreciate any help
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "D7" Then
Sheets("Calculation").Range("F10").Formula = "=Entry!D7"
Else
If Target.Address = "D8" Then
Sheets("Calculation").Range("B11").Formula = "=Entry!D8"
Else
If Target.Address = "D9" Then
Sheets("Calculation").Range("F16").Formula = "=Entry!D9"
Else
If Target.Address = "D13" Then
Sheets("Calculation").Range("F24").Formula = "=Entry!D13"
Else
If Target.Address = "D14" Then
Sheets("Calculation").Range("C37").Formula = "=Entry!D14"
End If
End If
End If
End If
End If
End Sub