在我写的程序里Private Sub Timer2_Timer()
text1.text=text1.text+1
end subPrivate Sub Timer3_Timer()
If text1.text>form2.text1.text
jingg = MsgBox("您的本次再线时间超过了您所定的时间", vbMsgBoxRight, "警告")
End If
End Sub当符合条件,MsgBox弹出来时,如果你不按MsgBox上的确定,那么text1.text就不会增加,
怎么样写代码才能让MsgBox弹出时text1.text也照样增加?
text1.text=text1.text+1
end subPrivate Sub Timer3_Timer()
If text1.text>form2.text1.text
jingg = MsgBox("您的本次再线时间超过了您所定的时间", vbMsgBoxRight, "警告")
End If
End Sub当符合条件,MsgBox弹出来时,如果你不按MsgBox上的确定,那么text1.text就不会增加,
怎么样写代码才能让MsgBox弹出时text1.text也照样增加?
Timer2.Enabled = True
end ifEnd If
后面的自己看着办吧
text1.text=text1.text+1
end subPrivate Sub Timer3_Timer()
If text1.text>form2.text1.text
jingg = MsgBox("您的本次再线时间超过了您所定的时间", vbMsgBoxRight, "警告")
End If
End Sub
Timer2.Enabled =False
else
timer2.enabled=true
end ifEnd If
嘿嘿!