albatross32
New Member
- Joined
- Feb 17, 2010
- Messages
- 32
I am getting this error message.
This is my code;
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$O$9" Then
If Len(Target.Text) > 0 Then
Application.Wait (Now + TimeValue("0:00:01"))
Range("O9").Activate
Selection.ClearContents
Sheets("Sheet2").Activate
Range("P3").Activate
Range("P3").Select
Selection.Copy
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.Copy
ActiveSheet.Paste
Application.CutCopyMode = False
End If
End If
End Sub
Any thoughts. Spoon feed me please. I am Excel competent but not VBA professional!
This is my code;
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$O$9" Then
If Len(Target.Text) > 0 Then
Application.Wait (Now + TimeValue("0:00:01"))
Range("O9").Activate
Selection.ClearContents
Sheets("Sheet2").Activate
Range("P3").Activate
Range("P3").Select
Selection.Copy
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.Copy
ActiveSheet.Paste
Application.CutCopyMode = False
End If
End If
End Sub
Any thoughts. Spoon feed me please. I am Excel competent but not VBA professional!