Jan 25, 2001 #1 SamNeo Technical User Jun 26, 2000 21 IN I want to close all active windows in a mdiform with one button click in the menu is it possibel to do.
I want to close all active windows in a mdiform with one button click in the menu is it possibel to do.
Jan 25, 2001 #2 oneshadow IS-IT--Management Dec 23, 2004 125 ID Code below close all child form, except MDIForm named frmMain : Dim frm As Form For Each frm In Forms If UCase$(frm.Name) <> "FRMMAIN" Then Unload frm Set frm = Nothing End If Next Upvote 0 Downvote
Code below close all child form, except MDIForm named frmMain : Dim frm As Form For Each frm In Forms If UCase$(frm.Name) <> "FRMMAIN" Then Unload frm Set frm = Nothing End If Next