This macro will hide/close the VBE Main Window :
Sub VBEMainWindowHide()
'close VBE window:
Application.VBE.Window.Visible = False
End Sub
I am attempting to close or hide the "Project - VBA Project" Pane. This pane displays all the Sheets in the workbook, the ThisWorkbook Module, etc.
So far I have tried Application.VBE.Projects.Visible = False ... Application.VBE.("Projects - VBA Project") and one or two other combinations using the same terms. No success.
How can I edit the macro so it successfully hides / closes the targeted pane ?
Thank you.