Visible Property
Returns or sets a Boolean indicating the visible state of the specified object. True to display the object; False to hide the object. Read/write.
expression.Visible
expression Required. An expression that returns one of the items in the Applies To list.
Remarks
You can also use the ShowPane method or the IsPaneVisible method of an Explorer object to set or retrieve this value.
Example
This Microsoft Visual Basic/Visual Basic for Applications example toggles the visible state of the Outlook Bar.
Dim myOlApp As New Outlook.Application
Dim myOlBar As Outlook.OutlookBarPane
Set myOlBar = myOlApp.ActiveExplorer.Panes.Item("OutlookBar")
myOlBar.Visible = Not myOlBar.Visible
If you use VBScript, you do not create the Application object. This example shows how to perform the same task using VBScript.
Set myOlBar = Application.ActiveExplorer.Panes.Item("OutlookBar")
myOlBar.Visible = Not myOlBar.Visible