| ©«¤l7 ¥DÃD1 ºëµØ0 ¿n¤À11 ÂI¦W0  §@·~¨t²ÎWin10 ³nÅ骩¥»Office 2021 ¾\ŪÅv50 ©Ê§O¤k µù¥U®É¶¡2010-8-22 ³Ì«áµn¿ý2025-6-5 
 | 
                
| ½Æ»s¥N½XSub CloseAllVBEWindows()
' Written by HansV , https://eileenslounge.com/viewtopic.php?t=19961
    Dim i As Long
    With Application.VBE.Windows
        For i = .Count To 1 Step -1
            With .Item(i)
                If .Type <= 1 Then ' 0 = vbext_wt_CodeWindow, 1 = vbext_wt_Designer
                    .Close
                End If
            End With
        Next i
    End With
End Sub
 | 
 |