With Selection
.Paste
End With
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
'cut and move row where cell is double-clicked
Target.EntireRow.Cut
Rows("2:2").Select
Selection.Insert Shift:=xlDown
'disable normal double-click behavior
Cancel = True
End Sub
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim temp As Variant
If Target.Column <> 1 Then Exit Sub
If Target.Row < 2 Then Exit Sub
Cancel = True
temp = Range("a1", Target.Offset(-1)).Value
Range("a1").Value = Target.Value
If IsArray(temp) Then
Range("a2").Resize(UBound(temp,1)).Value = temp
Else
Range("a2").Value = temp
End If
End Sub