Window Property
Applies To
CodePane object.
Description
Returns the window in which the code pane is displayed. Read-only.
See Also
CodePaneView property, LinkedWindowFrame property, SetFocus method, SetSelection method, Show method, TopLine property, Visible property.
Example
The following example uses the Window and Caption properties to return the caption of the specified code pane.
Debug.Print Application.VBE.CodePanes(1).Window.Caption