Visible Property (Addin Object)

Object: Addin Object

Access: Read/Write

Sets or returns the add-in control visible property.

Usage

Addin.Visible = True | False

Arguments

None.

Return Values

Boolean. If True, the Addin object is visible. If False, the Addin object is not visible.

Description

The default value of this property is determined within the addin. So, you should specifically set this property value when the addin is loaded.

Examples

Sub ToggleVisibility (nID) 
    'Called by Hide/Unhide Output Window menu item  
    If Not outputAddin Is Nothing Then  
        ' Toggle Output Window visibility  
        If outputAddin.Visible Then 
            outputAddin.Visible = False 
        Else 
            outputAddin.Visible = True 
        End If 
    End If  
End Sub