macro problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

i´m trying to copy a selection of charts from a workbook to another. Here´s
my lines:

Windows("BDs.xls").Activate
ActiveSheet.ChartObjects("Chart 11").Activate
ActiveSheet.Shapes.Range(Array("Chart 11", "Chart 12", "Chart 13",
"Chart 14" _
, "Chart 15", "Chart 16")).Select
Selection.Copy
Windows(F).Activate
ActiveSheet.PasteSpecial Format:="Picture (Enhanced Metafile)",
Link:=False _
, DisplayAsIcon:=False

When i see the macro running, it appears that only copies the first chart,
and then
it bugs when tries to paste in the workbook "F"

can anyone help me?
thanks,
Rui
 
copy then one at a time and past as a picture or select the entire range
that contains the charts (not the charts) and copy and paste as a picture
 
that may work. i´ll give it a try.
probably it will be slower, but no harm done!

thanks tom
rui
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top