Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

c#: PowerPoint : PasteSpecial a copied chart from Excel, crashes with Shapes (unknown member) : Invalid request.

$
0
0
Shapes (unknown member) : Invalid request.  The specified data type is unavailable.

Is the line I got if try to PasteSpecial a copied chart from Excel,

...
xlShape.Copy();
...
pptSlide.Shapes.PasteSpecial(PowerPoint.PpPasteDataType.ppPasteDefault, msoFalse, "", 0, "", msoFalse);

Anybody could give me a hint, why this happens and how to workaround it ?

Thank you in advance.



Viewing all articles
Browse latest Browse all 2257

Trending Articles