OLEObject.Enabled Property (2003 System)

Gets or sets a value that indicates whether the OLEObject is enabled.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Public Property Enabled As Boolean
'Usage
Dim instance As OLEObject
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }

Property Value

Type: System.Boolean
true if the OLEObject is enabled; otherwise, false.

Permissions

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace