copy paste Excel.chart -
08-22-2007
, 02:32 PM
Hi,
I am using a .NET interface for excel (Microsoft.Office.Interop.Excel)
and creating a chart programatically. I wanted to copy on chart and
paste it over another chart. Here is what I am doing (but without
success):
// Copy the chart object to the clipboard
Clipboard.SetDataObject(sourceChartObject, false);
// Paste it in the destination chart.
destChartObject.Paste(Excel.XlPasteType.xlPasteAll );
note: sourceChartObject and destCharObject are
Microsoft.Office.Interop.Excel.Chart objects
Has anyone done this?
-Pranesh. |