Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 01-27-2018, 06:22 AM
Shortmeister Shortmeister is offline Extract pictures from Word Windows 10 Extract pictures from Word Office 2016
Novice
Extract pictures from Word
 
Join Date: Jan 2018
Posts: 6
Shortmeister is on a distinguished road
Default

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
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
XML Schema Parent Child Extraction ChrisOK Excel Programming 0 11-16-2017 08:22 AM
Log file extraction xendistar Excel 0 09-01-2016 02:08 PM
Extract pictures from Word Data extraction from a cell! JTevez Excel 2 10-14-2015 11:56 PM
Extract pictures from Word Bibliography creation and automatic extraction styxsailor Word 3 11-30-2012 02:42 PM
Extract pictures from Word Email Extraction dpad Outlook 1 08-17-2010 06:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft