Macropod
I manually set each section to use a heading 1 style. That bit, whilst time-consuming was doable. I can guarantee that it's consistent though.
So to reiterate, I'm after the correct VBA to both name and extract the pictures with the correct heading 1 plus suffix eg "H1#1.jpg, H1#2.jpg, H1#3.jpg, H2#1.jpg, H2#2.jpg where H1, H2. etc are all heading 1 styles from the document in question.
I'd need to loop though each section and extract the pictures and add the IDs as part of the process.
1. Looping through cells in Excel is a piece of cake, but I can't see how to do it in Word.
2. I also don't know how to select and export a picture; allocating it a chosen meaningful name as part of the process.
Thanks
Martin
|