IsFormLoaded?
A simple method to check if a form is loaded without referencing a property (such as .visible) that would in turn load the form.
Original Author: Mike Douglas
Code
Public Function IsFormLoaded(ByVal FormName As String) As Boolean
Dim frm As Form
For Each frm In Forms
If LCase(frm.name) = LCase(FormName) Then IsFormLoaded = True
Next frm
End Function
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.