How to add pictures to Powerpoint Presentation Picture PlaceHolder?

后端 未结 2 569
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-21 22:34

I have created some code in Excel VBA to create a PowerPoint presentation 1 slide for each row of Excel, and populate in a specific text box in PowerPoint.
I now want to add

2条回答
  •  孤独总比滥情好
    2021-01-21 23:22

    While that looks like it works when you add an image to a slide with an empty picture or content placeholder it will always go into that placeholder and resize to fit.

    You just need to add it like this:

    osld.Shapes.AddPicture "Path", msoFalse, msoTrue, -1, -1
    

提交回复
热议问题