I'm trying to add 2 to whatever is in cell D2. So if cell D2 currently contains 15, I'd like a macro to overwrite that value and give me 17 (in the same cell). This is the best i can come up with but it's obviously not correct.
VBA Code:
Sub add_2()
Range("D2") = Range("D2").value + 2
End Sub
Last edited: