Create a "Dead" Chart

B

Bill Roberts

I used this code in an earlier program to create a "dead" chart (one that
would not update when the data changed). I get an error on
activechart.pictures.paste.select
Would appreciate the correct code for Excel2007. TIA

activechart.chartarea.copy
activechart.pictures.paste.select (this is where I get the error)
activechart.chartarea.select
selection.clear
activechart.deselect
 
A

Andy Pope

Hi,

These 2 commands will create a picture of a chartobject.

activechart.copypicture
activesheet.paste

Cheers
Andy
 

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

Top