Knowledge base KB0107

How can I copy-paste think-cell charts in my VBA Code?

Solution

You cannot copy-paste individual think-cell's objects using macros.
As a workaround, copy-paste an entire slide instead of objects/shapes on the slide. When you copy the slide as a whole, think-cell functionality is maintained even when think-cell is not present.

Explanation

When you manually copy-paste a chart, think-cell intercepts the user interaction ( Ctrl + C button or PowerPoint menu item) and does some additional work to maintain its metadata. The calls in your macro cannot be intercepted and therefore think-cell's metadata does not get copied along.