发布网友 发布时间:2022-04-23 21:47
共1个回答
热心网友 时间:2023-10-10 21:47
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 1 And Target.Row = 2 Then
response = MsgBox("你确定要修改吗", vbYesNo)
If response = vbYes Then
MsgBox "你选择了YES"
Else
MsgBox "你选择了NO"
End If
End If
End Sub