0

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
2
  • write in cell F15 formula =G22 Commented Jun 14, 2014 at 13:30
  • Sadly that won't work as my sheet is set up in such a way that would cause a circular warning reference. This really cannot be easily solved without remaking big parts of the entire worksheet, so I am hoping this would be a excellent short term solution. Commented Jun 14, 2014 at 13:33

1 Answer 1

1

This should work.

Range("F15").Value = Range("G22")
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.