Hi,
i am trying to load a form that has been selected by a user from a list,
i tried this but it doesn not open form FMMVS, is there any way i can do it? the form name could change but list(0) will always contain the form name i am trying to load
i am trying to load a form that has been selected by a user from a list,
Code:
If List1.ListCount = 0 Then
MsgBox "you have Not Selected a Form", vbInformation, "Open Form"
Else
Dim FM As Object
FM = List1.List(0) '<-------------- list(0) contains the string name of the form "FMMVS"
Load FM
FM.Timer1.Interval = 1000
End If