![]() |
#4
|
||||
|
||||
![]()
What you're trying to do is not possible with Word VBA, since the use an EMBED field and the most Word returns is the field code: 'EMBED Package'. No details about the filename or its path can be retrieved. Even if you Activate it via .OLEFormat.Activate, all that does is start the file playing but without revealing any of the details you're interested in.
To see what would be involved in doing this programmatically, see: Word - Embedded Object of type "Package", especially paras 1 & 6-10 of the post marked as the Answer.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Melody | PowerPoint | 4 | 12-29-2018 12:53 PM |
changing link sources in excel-2010 files | mhagi | Excel Programming | 5 | 01-31-2017 03:38 AM |
![]() |
hannes.ledegen | Mail Merge | 8 | 04-07-2016 01:22 AM |
msw 2007 ver 12-how do i create a audio link? | ss1133 | Office | 0 | 03-27-2012 09:07 AM |
![]() |
kevin3d | PowerPoint | 1 | 10-07-2011 09:17 PM |