How do I write code for closing a form using a button click event, But not closing the program at the same time

  • Thread starter Thread starter Gary Simpson
  • Start date Start date
G

Gary Simpson

Guest
Hi Good People

I am trying to close a form without closing the program at the same time?.

The code I have tried. In A Button Click Event.

Form2.Show

Me.Close

end Event (End Sub)

I have also tried this code the other way around.

Me.Close

Form2.Show

end Event (End Sub)

Or Can I not Close A Form While the Program is open?

Kind Regards

Gary



Gary Simpson

Continue reading...
 
Back
Top