Renfield
Messages postés17287Date d'inscriptionmercredi 2 janvier 2002StatutModérateurDernière intervention27 septembre 202174 27 sept. 2006 à 12:47
tu peux consulter la collection Forms :
Public Function IsFormLoaded(ByRef vsFrmName As String) As Boolean
Dim oFrm As Form
For Each oFrm In Forms
If oFrm.Name = vsFrmName Then
IsFormLoaded = True
Exit Function
End If
Next oFrm
End Function
If Not IsFormLoaded ( "Form2" ) Then
Form2.Show
End If