copy paste Excel.chart
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.
Date:Wed, 22 Aug 2007 18:32:43 -0000
Author:
|