说我们的任务列表如下:
将此代码放置在工作表代码区域中:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column <> 1 Then Exit Sub
Cancel = True
Rows("1:1").Insert Shift:=xlDown
Target.EntireRow.Copy Range("A1")
Target.EntireRow.Delete
End Sub
当妻子告诉您她已经分娩时,双击单元格 A4 ,任务列表将变为: