Hi,
This should be simple but maybe it's just me.
All I want to do is copy from one cell "F1" to the other "D1" if a third cell "F2" is = to "1".
I thought this would work but I'm missing something.
Thanks for your help,
Stuart.
This should be simple but maybe it's just me.
All I want to do is copy from one cell "F1" to the other "D1" if a third cell "F2" is = to "1".
I thought this would work but I'm missing something.
Code:
Option Explicit
Sub simple_copy()
If ("F2") = 1 Then
.Value("D1") = ("F1")
.Value("F1") = Clear
End If
End Sub
Thanks for your help,
Stuart.