2
votes
1answer
331 views

Exported shapes as image with vba in powerpoint with a white space in the button and top

I want to export certain shapes in powerpoint as images. For that I am using the following code: ActivePresentation.Slides(1).Shapes(3).Export "C:\dink_template\created_files\testimg.jpg", ...
0
votes
1answer
117 views

In VBA, how do I sequentially add an image to each slide?

I need to add a sequence of images numbered from 0 - 1400 in steps of 56 (0, 56, 112, etc) to each slide in a presentation and then make the background transparent So far I have: Sub InsertImage() ...
0
votes
1answer
363 views

Update PowerPoint pictures using VBA

My day to day work involves creating powerpoints for clients highlighting their campaign performance. Most of the charts have been linked to excel, which saves me a ton of time but I end up spending ...
0
votes
2answers
305 views

get format of image and videos in visual basic

I have some images and videos in my powerpoint presentation. Depends of what format have each one (jpg, mp3, jpeg,...) I want it to make a different thing so I need to know what kind of file is it. Is ...
4
votes
2answers
9k views

PowerPoint VBA: which command (or a set of commands) would create ppt frames out of my .jpg pictures?

I have a few .jpg files in C:\my_folder Here are their names: pic_1.jpg , pic_2.jpg , pic_3.jpg , pic_4.jpg , pic_5.jpg . What command or a group of commands in Power Point VBA should I use in order ...
2
votes
1answer
2k views

Compress Images in Office with VBA

I'm looking for a way to programmatically emulate PowerPoint and Word's behavior of compressing pictures to 150 or 96 dpi (ppi) (and removing crops, if there). I need to make a whole ton of ...