VBA 鼠标移动或单击退出Do Loop Until循环
VBA 鼠标移动或单击退出Do Loop Until循环
日期:2011-01-19 19:57:14 人气:1
'模块
Public mouseevents As Boolean
Sub a()
mouseevents = False
Do
.....
Doevents
Loop Until mouseevents
End Sub
在BeforeRightClick和BeforeDoubleClick中添加
mouseevents = True