高手们帮我看看这段小代码
Dim counter As IntegerPrivate Sub form_load()Timer1.Interval = 1000Timer1.Enabled = FalseEnd SubPrivate Sub timer1_timer()counter = counter + 1If counter > 5 Then EndEnd SubPrivate Sub cmd_click()Timer1.Enabled = Truea = MsgBox("选择", vbOK, "提示")If a = vbOK ThenElseIf a = vbCancel ThenEndEnd IfEnd Sub