PDA

View Full Version : Automation/Merge Process of Catalogue of Images



sikhinvestor
12-24-2014, 02:35 PM
I need an automation/merge process to produce a template of the attached Picture Page that will auto fill N number of pictures from a folder. The pictures will use a naming convention that will have them in the alphabetical/numerical order I want them inserted into the report in. After running the script, I expect to have the word file with as many pages as necessary to accommodate however many pictures were in the folder.

So I have a folder of images and it will copy

Using Office 2013

SamT
12-24-2014, 08:40 PM
It might take a few days, 'tis the season for delays.

macropod
12-25-2014, 06:25 PM
It's not clear quite what you're doing. You refer to a merge process, but there's nothing about your document or anything else in your post that suggests a mailmerge is involved. It's also not clear where the images are to go in relation to your content, which has lots of Section breaks serving no particulat purpose. There have also been numerous other threads in this forum discussing the insertion of multiple pictures into a document. You might look at some of those and see whether the code they use might be adapted to your needs. For example, see: http://www.vbaexpress.com/forum/showthread.php?44473-Insert-Multiple-Pictures-Into-Table-Word-With-Macro&p=306321&viewfull=1#post306321