Visible Property

Applies To

Window object.

Description

For the Window object, returns or sets a Boolean value that specifies the visibility of a window. Read/write. For the CodePane object, returns a Boolean value that indicates whether or not the code pane is visible in the window. Read-only.

Return Values

The Visible property returns the following values:

Value

Description

True

(Default) Object is visible.

False

Object is hidden.


See Also

ActiveWindow property, Caption property, MainWindow property, SetFocus method, Show method, WindowState property.

Example

The following example uses the Visible property to return a Boolean value indicating whether or not the specified window is visible.

Debug.Print Application.VBE.Windows(9).Visible