- Home
·
- Miscellaneous
·
- Close all windows in Visual Basic Editor. Start new AddIn Project and paste following code in frmAd
Close all windows in Visual Basic Editor. Start new AddIn Project and paste following code in frmAd
Close all windows in Visual Basic Editor. Start new AddIn Project and paste following code in frmAddIn.frm.
Rate Close all windows in Visual Basic Editor. Start new AddIn Project and paste following code in frmAd
(1(1 Vote))
Public VBInstance As VBIDE.VBE
Public Connect As Connect
Private Sub Form_Load()
Dim w As Window
For Each w In VBInstance.Windows
If (w.Type = vbext_wt_CodeWindow Or vbext_wt_Designer) _
And w.Type <> vbext_wt_ProjectWindow And w.Type <> vbext_wt_PropertyWindow And w.Type <> vbext_wt_ToolWindow Then
w.Close
End If
Next
Unload Me
End Sub
Close all windows in Visual Basic Editor. Start new AddIn Project and paste following code in frmAd Comments
No comments yet — be the first to post one!
Post a Comment