![如何更改 Excel 中的单元格移动](https://linux22.com/image/1593449/%E5%A6%82%E4%BD%95%E6%9B%B4%E6%94%B9%20Excel%20%E4%B8%AD%E7%9A%84%E5%8D%95%E5%85%83%E6%A0%BC%E7%A7%BB%E5%8A%A8.png)
答案1
答案2
您可以右键单击选项卡,查看代码,然后在事件中写入如下内容:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Selection.Row > 5 Then Cells(1, Selection.Column + 1).Select
End Sub
您可以右键单击选项卡,查看代码,然后在事件中写入如下内容:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Selection.Row > 5 Then Cells(1, Selection.Column + 1).Select
End Sub