Need a smalll change in the code to merge image into powerpoint slide

I have a code which works
    objShape = ppPrsn.Slides(1).Shapes.AddPicture("Selectel.png", False, True, 0, 0, 300, 500)

Open in new window

Need to change the path to bitmap image. As the image is extracted from database in
So,do not have a filepath.

Who is Participating?
Neil FlemingConnect With a Mentor Independent consultantCommented:
I don't think you can use "AddPicture" without a filename.

So you may need to copy the image to the clipboard and use "Shapes.Paste" , or export the image to a temporary filename.
RIASAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.