Excel单击单元格就进入编辑
1 按F2
2 写一个Visual Basic函数
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Selection.Count = 1 Then
Application.SendKeys "{F2}"
End If
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Selection.Count = 1 Then
If Len(ActiveCell.Value) > 0 Then
Application.SendKeys "{F2}"
End If
End If
End Sub
【这样就不用直接按F2了】