Add curve to existing chart

D

daMike

Hello,

I should add to an existing chart another curve with VBA.
The Charttyp is an XY-Plot! I work with WinXP and Excel 2002!

Hope somebody can help me!

Thanks in advance!
daMike
 
T

Tushar Mehta

Turn on the macro recorder (Tools | Macro > Record new macro...), copy
the data, select the chart, select Edit | Paste Special..., follow the
directions, and when done, turn off the recorder. XL will give you the
necessary code, which you can further adapt.

--
Regards,

Tushar Mehta
MS MVP Excel 2000-2003
www.tushar-mehta.com
Excel, PowerPoint, and VBA tutorials and add-ins
Custom Productivity Solutions leveraging MS Office
 

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