OLEObject.Activate Method (2003 System)
Activates the OLEObject.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Public Function Activate As Object
'Usage
Dim instance As OLEObject
Dim returnValue As Object
returnValue = instance.Activate()
public Object Activate()
Return Value
Type: System.Object
true if the OLEObject was successfully activated; otherwise, false.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.