Determines whether a specific explorer pane is visible. For example, use this method to determine if the Folder List is currently visible in the explorer. Returns True if the specified pane is displayed in the explorer.
Note You can also use the Visible property of the OutlookBarPane object to determine whether the Outlook Bar is visible.
Syntax
object.IsPaneVisible(Pane)
object Required. An expression that returns an Explorer object.
Pane Required. Must be one of the following olPanes constants: olOutlookBar(1), olFolderList(2), or olPreview(3).