Share via


Chart.Paste Method

Pastes chart data from the Clipboard into the chart.

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

Syntax

'Declaration
Sub Paste ( _
    Type As Object _
)
'Usage
Dim instance As Chart
Dim Type As Object

instance.Paste(Type)
void Paste(
    Object Type
)

Parameters

  • Type
    Type: System.Object
    Specifies the chart information to paste if a chart is on the Clipboard.

Remarks

The value of the Type parameter can be one of the following:

Value

Description

-4104

Everything will be pasted. This is the default value.

-4122

Copied source formats are pasted.

-4123

Formulas are pasted.

If there is data other than a chart on the Clipboard, this argument cannot be used.

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.PowerPoint Namespace