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.
Rate IsFormLoaded?
(7(7 Vote))
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
IsFormLoaded? Comments
No comments yet — be the first to post one!
Post a Comment