I'm inserting an INCLUDETEXT field into an IF statement.
e.g. if the bookmark says "Peter", then add text from a document,
otherwise do this...
{if {bookmark}="xxx" "{includetext
C:\\foldername\\foldername\\document.doc}" "otherwise do this"}
But it only seems to work when the foldernames are one word. I have a
folder called "Workflow documents" where I need to put the
document.doc and renaming it will cause all sorts of mither to other
linked documents, so I'd rather not. Any ideas how I get the space
into the equation? i've tried using ~ but it didn't work.
Thanks
Jules
Graham Mayor - 17 Aug 2004 18:26 GMT
Put speechmarks around the path!
{includetext "C:\\foldername\\foldername\\document.doc"}

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> I'm inserting an INCLUDETEXT field into an IF statement.
>
[quoted text clipped - 12 lines]
> Thanks
> Jules
Jules - 18 Aug 2004 09:40 GMT
> Put speechmarks around the path!
> {includetext "C:\\foldername\\foldername\\document.doc"}
Thanks Graham - that worked.