Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
johnpaul
Partner - Creator
Partner - Creator

Does Copy & Paste work with the OCX within a C# application?

Does anyone know if you are using the OCX and the associated API if copy and paste of objects works?

We would like our customers to be able to copy from one model to another.

We are using version 10 of the OCX and you can copy, but paste seems to be missing.

1 Reply
Not applicable

Sorry for the late reply.

    item.SheetObject.CopyTableToClipboard(true);

Works to copy the item.

Now with:

    sheet.Range(cellmapp).PasteSpecial(); //for Excel

    ppApp.ActiveWindow.View.PasteSpecial(); //for PowerPoint

You can paste your picture in Excel/PowerPoint.