That will close all your open form even if they are not MDI Child
This seems to work alow better:
Do While Forms.Count > 1
Unload Forms(1)
Loop
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only