Name
chart.CopyPicture([Appearance], [Format], [Size])
Synopsis
Copies the image of a chart into the clipboard.
|
Argument |
Settings |
|---|---|
|
|
The resolution of the image. Can be one of these settings: |
|
|
The image format. Can be one of these settings: |
|
|
|
The following code copies a bitmap of a chart onto the clipboard so that it can be later pasted by the user:
Sub DemoCopyPicture( )
Dim chrt As Chart
Set chrt = Charts("Demo Chart Types")
' Copy a chart image into the clipboard.
chrt.CopyPicture xlScreen, xlBitmap
End SubBecome an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access