Hi Ladoo,
Thanks for suggestions. Actually I am looking for a theoretical explanation. I have no doubt that your code can unload N-1 forms involved in an application but is really useless this releasing : Set Form2 = Nothing !? In terms of good practice many programmers recommend it ...Regarding your solutions above I don't understand why do you loop using "Do While" as long as you already know the Form.Count limit ? Rewriting these lines I would prefer something like below :
Code:
Private Sub Form_Unload(Cancel As Integer)
        Dim i As Byte
    For i = 1 To Forms.Count - 1
        Unload Forms(i)
    Next i
End Sub
Isn't it the same thing ? Thank you.