Thread: [Solved] Splitting Out PDFs
View Single Post
 
Old 12-05-2012, 02:19 PM
4mysanity 4mysanity is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Nov 2012
Posts: 16
4mysanity is on a distinguished road
Default RE:

Hey Macropod,

Thanks for the response once again...

To answer your question, that is because the InsertPicstoPDF Macro doesn't split out the paragraph and image and save it as a pdf.

Basically this is the underlying problem Im trying to solve...We get a list of employee descriptions submitted by corporate communications. Those descriptions come in paragraphs, and the paragraphs have labels such as 001, 002, 003, 004, 005, 006 and so on.

In my k:\ directory I provided is where images of all the employees reside. The images of the employees are also numbered 001, 002, 003, 004, 005.

So the macro is supposed to be inserted on the word document we get from communications, and once executed the images are supposed to get inserted above the paragraphs. Once the images are inserted above each paragraph each paragraph and its image have to be saved seperately.

So, image 002 and paragraph 002, will be saved as 002.pdf
Image 003 and paragraph 003, will be saved as 003.pdf

and so on.

So thats why I have the splitter macro in there...Once the images are inserted on the word document its supposed to split out each paragraph.



Quote:
Originally Posted by macropod View Post
Why are you bothering with your 'Splitter' macro at all? The 'InsertPicsToPDF' macro I provided makes no use of it for the first round, so why would you expect it to do so for the second?
Reply With Quote