M
Mark Belton
I've setup a DDE between Excel and Word to run a number of mail merges from
various excel sources as shown on
http://support.microsoft.com/default.aspx?scid=kb;en-us;274284
During the DDE link I've passed the Excel file path (e.g. c:\test.xls)
across to word and written this onto the word document (e.g. Data Source File
Path > C:\test.xls)
I'm trying to execute a mail merges using the passed file path as the data
source.
All is working, apart from me getting the file path value and using in the
mail merge procedured. I need the string value of the file path and I'm not
sure how to get it.
Is it possible to either:
(1) storing the file path in a temp file to retreive from any procedure ?
or
(2) extracting the file path as a string from the word document (find??) and
using in the vba code?
Many thanks in advance
mark
various excel sources as shown on
http://support.microsoft.com/default.aspx?scid=kb;en-us;274284
During the DDE link I've passed the Excel file path (e.g. c:\test.xls)
across to word and written this onto the word document (e.g. Data Source File
Path > C:\test.xls)
I'm trying to execute a mail merges using the passed file path as the data
source.
All is working, apart from me getting the file path value and using in the
mail merge procedured. I need the string value of the file path and I'm not
sure how to get it.
Is it possible to either:
(1) storing the file path in a temp file to retreive from any procedure ?
or
(2) extracting the file path as a string from the word document (find??) and
using in the vba code?
Many thanks in advance
mark