UnloadallForms
Public Sub UnloadAllForms() Dim Form As Form For Each Form In Forms Unload Form Set Form = Nothing Next Form End Sub 'It is best to call this procedure from the unload event 'of your main form.
Public Sub UnloadAllForms()
Dim Form As Form
For Each Form In Forms
Unload Form
Set Form = Nothing
Next Form
End Sub
'It is best to call this procedure from the unload event
'of your main form.
(unloadallforms.html)- by Paolo Puglisi - Modifica del 25/3/2019