View Single Post
 
Old 05-24-2020, 03:04 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Whilst it's possible to extract the content from embedded documents (see, https://www.msofficeforums.com/150817-post2.html), it is not possible to retrieve the original filenames; only the filenames of linked objects can be retrieved. The only reason the code from your link worked is because someone had gone to the effort of including the original filenames in the images' Alternative Text property - a property embedded documents lack.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote