by Daniel Schwab (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 29th February 2000
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Unload all Forms in an app. I you have forms you don't want to be unloaded just give the name to the sub :-))
Dim MyForm As Form
For Each MyForm In Forms
If MyForm.Name <> frm1.Name And MyForm.Name <> frm2.Name Then
Unload MyForm
Set MyForm = Nothing
End If
Next
End Sub
No comments have been posted about Unload all Forms in an app. I you have forms you don't want to be unloaded just give the name to th. Why not be the first to post a comment about Unload all Forms in an app. I you have forms you don't want to be unloaded just give the name to th.