Explorer.ShowPane Method
Outlook Developer Reference |
Displays or hides a specific pane in the explorer.
Syntax
expression.ShowPane(Pane, Visible)
expression A variable that represents an Explorer object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Pane | Required | OlPane | The pane to display. |
Visible | Required | Boolean | True to make the pane visible, False to hide the pane. |
Remarks
Note |
---|
You can also use the Visible property of the OutlookBarPane object to display or hide the Shortcuts pane. |
Example
This Microsoft Visual Basic/Visual Basic for Applications (VBA) example uses the ShowPane and IsPaneVisible methods to hide the preview pane if it is visible or to display it if it is hidden.
Visual Basic for Applications |
---|
|
See Also