Share via


_OLEObject.Duplicate Method

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

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

Syntax

'Declaration
Function Duplicate As Object
'Usage
Dim instance As _OLEObject
Dim returnValue As Object

returnValue = instance.Duplicate()
Object Duplicate()

Return Value

Type: System.Object

See Also

Reference

_OLEObject Interface

_OLEObject Members

Microsoft.Office.Interop.Excel Namespace