B
Bryan Fegan
Greetings,
I'm using links in a word document to dynamically pull
data from an excel file. I'd like to use DOCPROPERTY to
dynamically pull the path and file name for the source
file that should be used to populate the word document.
I've created the DOCPROPERTY to return the path and file
name but I'm having a difficult time combining them with
the imbedded links. Example below:
These are the links that return the path and the file
name:
{ DOCPROPERTY Path}{ DOCPROPERTY File}
This is an example of the link that I'm using to pull
data from the source file:
{ LINK Excel.Sheet.8 "C\\Documents and
Settings\\U\\Desktop\\Outcomes\\Outcomes.xls" "Sheet1!
R2C3" \a \f 4 \h \*MERGEFORMAT }
How do I replace the hard coded path in the link above
with the dynamic path and file name created with the
DOCPROPERTY reference?
Thanks in advance for your help.
Regards,
Bryan
I'm using links in a word document to dynamically pull
data from an excel file. I'd like to use DOCPROPERTY to
dynamically pull the path and file name for the source
file that should be used to populate the word document.
I've created the DOCPROPERTY to return the path and file
name but I'm having a difficult time combining them with
the imbedded links. Example below:
These are the links that return the path and the file
name:
{ DOCPROPERTY Path}{ DOCPROPERTY File}
This is an example of the link that I'm using to pull
data from the source file:
{ LINK Excel.Sheet.8 "C\\Documents and
Settings\\U\\Desktop\\Outcomes\\Outcomes.xls" "Sheet1!
R2C3" \a \f 4 \h \*MERGEFORMAT }
How do I replace the hard coded path in the link above
with the dynamic path and file name created with the
DOCPROPERTY reference?
Thanks in advance for your help.
Regards,
Bryan