Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / August 2004

Tip: Looking for answers? Try searching our database.

INCLUDETEXT field where foldernames have spaces

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jules - 17 Aug 2004 17:12 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.