P
Peter T
I know you've worked around but for future reference try something like
this -
Sub UnloadAllForms()
Dim i As Long
For i = UserForms.Count To 1 Step -1
Unload UserForms(i - 1)
Next
End Sub
If a particular form is loaded you might want to run any clean up code
before unloading the form.
Regards,
Peter T
this -
Sub UnloadAllForms()
Dim i As Long
For i = UserForms.Count To 1 Step -1
Unload UserForms(i - 1)
Next
End Sub
If a particular form is loaded you might want to run any clean up code
before unloading the form.
Regards,
Peter T