Private Sub Timer1_Timer()
Label1.Caption = i
i = i + 1
If i = 30 Then
MsgBox ("Time's Up")
Me.Hide
Form2.Show
Form2.lblEnter.Visible = False
Form2.lblExit.Visible = True
Timer1.Enabled = False
End If
Label1.Caption = i
i = i + 1
If i = 30 Then
MsgBox ("Time's Up")
Me.Hide
Form2.Show
Form2.lblEnter.Visible = False
Form2.lblExit.Visible = True
Timer1.Enabled = False
End If
End Sub
Form2 codes
Private Sub lblEnter_Click()
form1.Show
Me.Hide
End Sub
Me.Hide
End Sub
Private Sub lblExit_Click()
End