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 / October 2004

Tip: Looking for answers? Try searching our database.

includetext

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ken arthur - 08 Oct 2004 04:44 GMT
I want to use a variable as the path for a file with a
bookmark I want to use in a merge document.

The following works ok
{includetext "c:\\foldername\\file" bookmark }
but I want it to get the path name from my data source so
I think it should look like this
{ includetext "VARIABLE containing path" bookmark }but I
keep getting a "cannot find file" error.

Any help would be appreciated.
Graham Mayor - 08 Oct 2004 08:33 GMT
Does the content of your field contain the path in the same format?

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> I want to use a variable as the path for a file with a
> bookmark I want to use in a merge document.
[quoted text clipped - 7 lines]
>
> Any help would be appreciated.
ken arthur - 08 Oct 2004 08:47 GMT
I assume so.
The data entered in the field is "c:\\aaa
merge\\pensions.doc" (including the "").This is exactly
the same as was entered before as
{includetext "c:\\aaa merge\\pensions.doc" government}


>-----Original Message-----
>Does the content of your field contain the path in the same format?
[quoted text clipped - 12 lines]
>
>.
Graham Mayor - 08 Oct 2004 09:04 GMT
In that case {Includetext {Mergefield Fieldname} bookmark}
should work. You will almost certainly have to merge to a new document and
update it after the merge (CTRL+A then F9).
If it doesn't, merge the fieldname field on its own without the Includetext
and see exactly what it enters.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> I assume so.
> The data entered in the field is "c:\\aaa
[quoted text clipped - 26 lines]
>>
>> .

Rate this thread:






 
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.