Microsoft, PowerPoint, 2003, VBA Macro, VBA
Posted on 2007-08-09
I have a VBA macro that inserts a set of images (EMFs) into a PowerPoint in a certain order and arranges and sizes them appropriately. The names of the images stay the same, but they are updated weekly, so the content changes. Also, the number and sequence of the slides can change.
I want to name the image objects specifically as they are inserted, so that they can be manipulated by object name in other sections of code. I also need to use Absolute Slide IDs since the order can change.
I have seen somehwere how to name the image object as it is inserted, but I can't seem to find it now when I need it.
Ideally, since the list of image file names is constant, (relatively) I would like to make that an array, as I would to the names of the chart objects as they are inserted.
Can anyone help me on this? I would appreicate it. Thank you.