simple want when user click on close form button.all the form should close except Mdi form.but MDI Form also get close.Kindly let me know. any help would be Highly appreciated.here is the code what i have written.
Private Sub FrmClose_Click()
Dim frm As Form
For Each frm In Forms 'it will loop until it finish all the form in a collection forms.
Unload frm
Next frm
End Sub