Close Active Form

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Is there a way to check if a particular form is open and
if so close the form?

For example if I had Form1 open

If Form1.Visible = True Then
Form1.Close
End if

Thanks!

Peter
 
Back
Top