Close Method (Window Object)

       

Closes and destroys the window.

Syntax

Sub Close ()

Remarks

For designer windows this destroys the contained designer. For LinkedWindowFrames this destroys the window, and all contained windows become unlinked separate windows. For linked windows this causes an error if the linked window is not removed from all links before being closed. For IDE windows this only works for the Project window, all other IDE windows cause an error if closed.

A LinkedWindowFrame exists around all tool windows except the Object Browser and the Find/Replace windows. LinkedWindowFrames exist around all windows that can be linked or docked.