OLEObject.Duplicate Method (2003 System)

Duplicates the OLEObject and returns a reference to the new copy.

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

Syntax

'Declaration
Public Function Duplicate As Object
'Usage
Dim instance As OLEObject
Dim returnValue As Object

returnValue = instance.Duplicate()
public Object Duplicate()

Return Value

Type: System.Object
The new copy of the OLEObject.

Permissions

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace