command1循环调用command2?
我的程序要求点一下command1 后。重复运行command2 click 10次运行后结果死机。求高手给个解决方安
Option Explicit Dim a As Integer Private Sub Command1_Click() Dim i As Integer For i = 0 To 9 Command2_Click Next i End Sub Private Sub Command2_Click() a = a + 1 MsgBox a End Sub Private Sub Form_Load() a = 0 End Sub