VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Unload all Forms in an app. I you have forms you don't want to be unloaded just give the name to th

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 :-))

Rate Unload all Forms in an app. I you have forms you don't want to be unloaded just give the name to th



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


Download this snippet    Add to My Saved Code

Unload all Forms in an app. I you have forms you don't want to be unloaded just give the name to th Comments

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.

Post your comment

Subject:
Message:
0/1000 characters