0 Replies Latest reply on May 4, 2010 4:19 PM by SteveCTQ

    Embedding PDF in Powerpoint - showing filename only not PDF content

    SteveCTQ

      Hi all,

       

      I have automated a powerpoint presentation to embed PDF's  into a powerpoint presentation...

       

      this all works great but on some machines the content does not show, it only shows as the filename... it is still embeded but I want the content of the PDF to be displayed on the slide... which it does on some machines and I can't see what is different on the PC's that it won't do that on...

       

      The command used to insert the PDF is ...

       

              ActiveWindow.Selection.SlideRange.Shapes.AddOLEObject(Left:=60, Top:=20, FileName:=strOutputPath & "\" & strFilename, link:=msoFalse).Select

      which is just an insert object from file command...

       

      Further investigation showed that even trying to do this manually still will not bring in the content in... so then as a test i inserted the PDF in an Excel spreadsheet and the same result... content appears on some PC's some just show the filename only...

       

      PS... I don't have the 'Show as icon' checkbox selected when i'm doing this.

       

      Any pointers in the right direction would be very much appreciated...

       

       

      Cheers

       

      Steve.