_Chart.Paste Method
Pastes chart data from the Clipboard into the specified chart.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.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.ObjectOptional Object. Specifies the chart information to paste if a chart is on the Clipboard. Can be one of the following XlPasteType constants: xlFormats, xlFormulas, or xlAll. The default value is xlAll. If there’s data other than a chart on the Clipboard, this argument cannot be used.
Remarks
This method changes the current selection.