Visible 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