in reply to Create a chart in PPT

For automating these applications I suggest you spend time learning about the DOM, using the Macro recorder and converting the VB to Perl Using OLE with Perl.

Update: Apparently the macro recorder feature was removed after a certain version number of Powerpoint, so your version may not have it. More details on this in the other responses