I have been having no luck finding a simple vba script that writes the value of a specific cell to another cell. I found below code here, but it doesn't seem to function. What I really want to do is constantly put the value of cell G22 in cell F15.
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("G22")) Is Nothing Then
Range("F15") = Range("G22")
End If
End Sub
F15formula=G22