I am trying to paste a picture from excel into the rectangle of a powerpoint slide. However, since I don't want to use any current existing rectangle I want to add the rectangle and then paste my enhanced metafile into it from excel. I currently can paste and do all that just need to know how to add the rectangle.
I need the rectangle because when you paste a picture into it, it automatically re-sizes it for you.
this is the only code i could find to add the rectangle however, it also adds the title slide and will not add a new rectangle if it already exists on the page.
ActiveWindow.Selection.SlideRange.Layout = ppLayoutText