Private Sub Command1_Click()
    for x=1 to 9999
        Debug.Print x
    next
    MsgBox "done"
End Sub
这样不行吗