Alex Campbell
asked on
How do I insert graphics into Word with multiple hard returns between graphics?
I need to select multiple graphics from a directory, insert them into a document
AND have them separated by a hard return.
If I use Insert, Picture, From File, the graphics are put right next to each other with no space and no paragraph mark between the graphics. This makes it extremely difficult to add text between the graphics.
I don't want to have to add the graphics individually because there are so many.
I have also tried it with creating a table and then adding the graphics, but in that case they are put next one another in one cell.
Is there a macro that will do this OR an option to set?
AND have them separated by a hard return.
If I use Insert, Picture, From File, the graphics are put right next to each other with no space and no paragraph mark between the graphics. This makes it extremely difficult to add text between the graphics.
I don't want to have to add the graphics individually because there are so many.
I have also tried it with creating a table and then adding the graphics, but in that case they are put next one another in one cell.
Is there a macro that will do this OR an option to set?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
1. Allow me to go to a folder.
2. Select individual graphics files in the folder.
3. Click on OK.
4. The graphics would inserted into the document:
Graphics file 1
Paragraph Mark
File 2
Paragraph Mark
File 3
Paragraph Mark
...
Last File
Paragraph Mark
Warning: I found macro that did this for table (see code), but I think a simpler macro would be better for what I need. I would want this new macro to be simpler.
I was told that there is a bug in VBA that does not work with the files in the order that you select them.
Open in new window