Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-24-2020, 10:38 AM
CamJohnston CamJohnston is offline Extract a List of Embedded Documents from a Word Document. Windows 10 Extract a List of Embedded Documents from a Word Document. Office 2019
Novice
Extract a List of Embedded Documents from a Word Document.
 
Join Date: May 2020
Posts: 1
CamJohnston is on a distinguished road
Default Extract a List of Embedded Documents from a Word Document.

As the title says, looking to extract a listing of embedded documents from a single Word document.

Something similar was done for images by Paul Edstein in this post:
https://www.msofficeforums.com/word-...ames-word.html

With this code:

Sub Demo()
Dim Shp As Shape, iShp As InlineShape
Dim StrShp As String, StriShp As String
With ActiveDocument
For Each iShp In .InlineShapes
StriShp = StriShp & vbCr & iShp.AlternativeText
Next
For Each Shp In .Shapes
StrShp = StrShp & vbCr & Shp.AlternativeText
Next
.Range.InsertAfter vbCr & "Inline Shapes:" & StriShp _


& vbCr & vbCr & "Floating Shapes:" & StrShp
End With
End Sub

If someone could let me know the tweaks to make, i would be grateful.

Cheers
Reply With Quote
 

Tags
embedded file list



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract Document ID and description from header in multiple Word documents and paste in new word doc venkat_m Word VBA 2 05-23-2020 03:57 AM
Extract a List of Embedded Documents from a Word Document. Find embedded documents in Word 2016 GreenBoy Word 2 03-28-2018 01:04 AM
Extract Data from Word Documents hiwire03 Word VBA 3 01-29-2016 09:19 PM
Extract a List of Embedded Documents from a Word Document. Embedded Word documents cause crash Ted C Word 1 06-07-2015 03:55 AM
Extract a List of Embedded Documents from a Word Document. How to extract two different output documents from 1 master document? wimvanrompuy Word 3 06-20-2014 06:43 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:54 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