in reply to Re: Use of Powerpoint and Excel?
in thread Use of Powerpoint and Excel?
My code:
$book = $xlapp->Workbooks->Open("$file");
$chart = $book->Charts(3)->Copy();
$ppt = $power->Presentations->Add();
$ppt->Slides->Paste($chart);
$ppt->SaveAs($filename.'\shashimamidi'.'.ppt');
In this code I couldn't copy the Excel Chart to 'ppt'...
Is there any way that I can copy and paste in MS Powerpoint?
Shaggy