View Single Post
 
Old 03-11-2020, 07:34 PM
mikbro1215 mikbro1215 is offline Windows 10 Office 2016
Novice
 
Join Date: Mar 2020
Posts: 3
mikbro1215 is on a distinguished road
Default Changing Link on Audio Files on Startup

Hi,
I have a folder full of docm files which contain linked audio files which are in a sub-folder (linked because I modify the audio relatively frequently and some files are in multiple documents). I would like to move this folder about: among friends.
I would like to have a script run on opening the document that updates these links to match where the folder is moved to.

So far all I know is that I should be running Document_Open() and that ActiveDocument.Path gets the path for the document I want. I have no Idea how to count how many linked audio files there are and I don't know how to refer to any specific file either to access their properties. I don't even know what they are. Are they fields? Are they Shapes? Is there just a generic object?

Thanks for any help at all, this is my first time using VBA and I've been trying to figure this out for two days now.
Reply With Quote