Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Fri, 4 Jul 2008 08:40:01 -0700,    group: microsoft.public.word.vba.general        back       


Use includetext field code for text from the open file   
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.)
date: Fri, 4 Jul 2008 08:40:01 -0700   author:   DebSlab

Re: Use includetext field code for text from the open file   
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

-- 
Cheers
-- 
macropod
[MVP - Microsoft Word]


"DebSlab"  wrote in message news:89AF53C6-7055-4D65-AA5B-705FD82A339C@microsoft.com...
>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.)
>
date: Sat, 5 Jul 2008 06:59:24 +1000   author:   macropod lid

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us