Chart.Paste Method
Pastes chart data from the Clipboard into the specified chart.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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. Can be one of the following XlPasteTypexlPasteFormats, xlPasteFormulas, or xlPasteAll. The default value is xlPasteAll. If there’s data other than a chart on the Clipboard, this argument cannot be used. paste