Sub Timer1_Tick(…… Beep() End Sub '開始ボタン Sub Button1_Click(…… Button1.Enabled = False Timer1.Interval = 3000 Tiemr1.Start() Button2.Enabled = True End Sub '停止ボタン Sub Button2_Click(…… Button2.Enabled = False Timer1.Stop() Button1.Enabled = True End Sub