Microsoft Word Mail Merge Data Source auto location
I have written an Excel > Word Mail merge where the word document is the mail merge template. At the moment the location of the excel file (data source) has to be hard coded. I want to be able to move the files about the network, as long as they are in the same folder as each other, so it recognizes the data source is still the excel file. I currently have this piece of code which i thought would work. When the word document is opened at any point, it will re-create the data source by looking to the current directory of the file and looking for the file name PM MailMerge.xlsm. Then when it has