Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi I've been using
Dim x as DataObject x.SetText "Mytext" x.PutInClipboard to place various thing in the clipboard to allow them to be easily pasted elsewhere. Does anyone know how to apply this to charts? I have a worksheet containing two charts, both of which I would like to be copied to the clipboard when a button is clicked so that they can be pasted as a single metafile into another document. Many thanks in advance. Libby |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Libby,
The DataObject only accepts text. Record a macro, with the chart selected, on the main menu hold Shift and select Edit, Copy Picture. Experiment with the top two options but to copy as a metafile ensure the Format option is Picture. Tidy up the recorded macro. Not sure what you mean by copy two charts then paste as a single metafile. You will need to copy paste one at a time, maybe to can combine the two images as one in the other application. Regards, Peter T "Libby" wrote in message ... Hi I've been using Dim x as DataObject x.SetText "Mytext" x.PutInClipboard to place various thing in the clipboard to allow them to be easily pasted elsewhere. Does anyone know how to apply this to charts? I have a worksheet containing two charts, both of which I would like to be copied to the clipboard when a button is clicked so that they can be pasted as a single metafile into another document. Many thanks in advance. Libby |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy variable to clipboard | Excel Programming | |||
Copy chart to clipboard - VBA | Charts and Charting in Excel | |||
Copy chart to clipboard - VBA | Excel Programming | |||
Transfer clipboard from Task pane clipboard(office?) content to Excel (windows?) clipboard? | Excel Programming | |||
Copy from clipboard? | Excel Programming |