本示例将一个选定的 Microsoft Excel 图表粘贴为图片,本示例假定“剪贴板”包含 Excel 图表。

Sub PasteChart()
Selection.PasteAndFormat Type:=wpsChartPicture
End Sub