Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Application.ScreenUpdating = False
If Target.Column = 4 Then
Cancel = True
Target.Copy
Sheets("MySheet").Range("O6").PasteSpecial Paste:=xlPasteValues
Worksheets("MySheet").Activate
End If
Application.CutCopyMode = False
Application.ScreenUpdating = True
End Sub
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Application.ScreenUpdating = False
If Target.Column = 4 Then
Target.Copy
Sheets(Range("A1").Value).Range("O6").PasteSpecial Paste:=xlPasteValues
Sheets(Range("A1").Value).Activate
End If
Application.CutCopyMode = False
Sheets("MySheet").Range("A1").ClearContents
Application.ScreenUpdating = True
End Sub