Thanks Rich / C-... I can now open a given Powerpoint file. I ran the code you sent me and it opens an existing ppt file. My next (and most frustrating) Perl challenge is to select a given slide, then paste an Excel chart to the slide. I also need to properly size the chart, but I think that will become trivial if I can just get over the first hill. The perl / Excel side of the problem is already functioning, with my code copying the Excel chart to the clipboard. I've captured a number of Powerpoint macros that do the required functions (slide select, copy, size, et al.) and tried to convert them to Perl to no avail. Does anyone have an end-to-end example of a functioning Perl / Powerpoint app that I can study? I have raided every bookstore in town and have a Perl library at least 3 feet wide. Unfortunately, the Win32 / OLE sections concentrate on Excel, with some mention on Word and Outlook. I have yet to see anything on Powerpoint. If I ever figure it out, maybe I'll write that first Perl / Powerpoint book. If this were just a hobby I'd attack the problem differently, spending the time to get a full indoctrination in OLE. Unfortunately, I'm under the gun to produce an automation product involving Powerpoint in the next week for work. Any thing you can do will be a great help! Bill

In reply to Re: Re: Powerpoint OLE by smithwt
in thread Powerpoint OLE by smithwt

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.