Use includetext field code for text from the open file

D

DebSlab

I have one document with variable text using bookmarks called BOOK and a
number of other documents that have the INCLUDETEXT field codes to pick up
the these variables. The INCLUDETEXT field code needs the path and filename
to locate the variable data. I want INCLUDETEXT to pick up the variables
from the file BOOK when it is open. (This means that I can have many
different BOOK stored in folders per client and only the variables of the
open BOOK will update in the documents.)
 
M

macropod

Hi Deb,

That's not how INCLUDETEXT fields work. Their paths always point to a specific file and folder, regardless of whether that file is
open or closed. If you want to add some flexibility to that, you could use an ASK field or a bookmarked FILLIN field in your target
document to soliticit the file path, and cross-refereence that in the INCLUDETEXT field.

One alternatively would be to have a special folder on your system into which you copy the relevent BOOK file.

Another alternative would be to copy your target file to the relevant folder and code the INCLUDETEXT fields to use relative paths.
To see how to implement relative paths in Word, check out the solution I've posted at:
http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Number=670027
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top