VB Code:
Private Sub cmdBack_Click() frmMain.Show Dim frm As Form For Each frm In Forms If frm <> frmMain Then Unload frm Set frm = Nothing End If Next frm End Sub
What is wrong with this code...???
Gives compile error: Type mismatch
Hope some one can fix it...!!!
Cheers...




Reply With Quote