A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using the INCLUDETEXT field



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2009, 01:31 AM posted to microsoft.public.word.mailmerge.fields
DeeDeeCee
external usenet poster
 
Posts: 62
Default Using the INCLUDETEXT field

I use Word 2007.

I've gotten this far in my learning: I know how to insert "REF" fields that
refer to a bookmark in the same document. But now I'd like to be able to have
the "REF" field refer to a completely separate document. My ultimate purpose:
I want to keep a master address list, and update that document alone, so I
can do quick F9 updates of the REF fields in other documents.

I've read that to "REF" to a bookmark location in another document, I use
the INCLUDETEXT field. But I don't know how to make that field know where to
look. I assume I add some field codes or switches in order to direct it where
to go. Is that correct, and if so--how do I write the switches/code?

Thanks for any help you can give me.

DDC
  #2  
Old June 4th, 2009, 02:08 AM posted to microsoft.public.word.mailmerge.fields
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Using the INCLUDETEXT field

Hi DeeDeeCee,

The simplest way to see how this works, and the correct field code syntax, is to open two documents, copy a range from one document
and paste it into the other using Edit|Paste Special, checking the 'Paste Link' option and choosing, say, the RTF paste format. This
will probably insert a LINK field, that looks like:
{LINK Word.Document.8 "C:\\Users\\DeeDeeCee\\Documents\\Test.doc" "OLE_LINK1" \a \r}
The "OLE_LINK1" string refers to a bookmark name Word creates in the source document. If you change the field code to:
{INCLUDETEXT "C:\\Users\\DeeDeeCee\\Documents\\Test.doc" "OLE_LINK1"}
you'll have an INCLUDETEXT field pointing to the "OLE_LINK1" bookmark. LINK fields and INCLUDETEXT fields work in similar ways, but
have different options.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeeDeeCee" wrote in message ...
I use Word 2007.

I've gotten this far in my learning: I know how to insert "REF" fields that
refer to a bookmark in the same document. But now I'd like to be able to have
the "REF" field refer to a completely separate document. My ultimate purpose:
I want to keep a master address list, and update that document alone, so I
can do quick F9 updates of the REF fields in other documents.

I've read that to "REF" to a bookmark location in another document, I use
the INCLUDETEXT field. But I don't know how to make that field know where to
look. I assume I add some field codes or switches in order to direct it where
to go. Is that correct, and if so--how do I write the switches/code?

Thanks for any help you can give me.

DDC


  #3  
Old June 4th, 2009, 12:44 PM posted to microsoft.public.word.mailmerge.fields
Walter Briscoe
external usenet poster
 
Posts: 62
Default Using the INCLUDETEXT field

In message of Thu, 4 Jun 2009
11:08:51 in microsoft.public.word.mailmerge.fields, macropod
writes
Hi DeeDeeCee,

The simplest way to see how this works, and the correct field code
syntax, is to open two documents, copy a range from one document and
paste it into the other using Edit|Paste Special, checking the 'Paste
Link' option and choosing, say, the RTF paste format. This will
probably insert a LINK field, that looks like:
{LINK Word.Document.8 "C:\\Users\\DeeDeeCee\\Documents\\Test.doc"
"OLE_LINK1" \a \r}
The "OLE_LINK1" string refers to a bookmark name Word creates in the
source document. If you change the field code to:
{INCLUDETEXT "C:\\Users\\DeeDeeCee\\Documents\\Test.doc" "OLE_LINK1"}
you'll have an INCLUDETEXT field pointing to the "OLE_LINK1" bookmark.
LINK fields and INCLUDETEXT fields work in similar ways, but have
different options.


That is BRILLIANT and (also?) works in Word 2003.
--
Walter Briscoe
  #4  
Old June 8th, 2009, 04:15 PM posted to microsoft.public.word.mailmerge.fields
DeeDeeCee
external usenet poster
 
Posts: 62
Default Using the INCLUDETEXT field

Thanks--that helped quite a bit.

"macropod" wrote:

Hi DeeDeeCee,

The simplest way to see how this works, and the correct field code syntax, is to open two documents, copy a range from one document
and paste it into the other using Edit|Paste Special, checking the 'Paste Link' option and choosing, say, the RTF paste format. This
will probably insert a LINK field, that looks like:
{LINK Word.Document.8 "C:\\Users\\DeeDeeCee\\Documents\\Test.doc" "OLE_LINK1" \a \r}
The "OLE_LINK1" string refers to a bookmark name Word creates in the source document. If you change the field code to:
{INCLUDETEXT "C:\\Users\\DeeDeeCee\\Documents\\Test.doc" "OLE_LINK1"}
you'll have an INCLUDETEXT field pointing to the "OLE_LINK1" bookmark. LINK fields and INCLUDETEXT fields work in similar ways, but
have different options.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeeDeeCee" wrote in message ...
I use Word 2007.

I've gotten this far in my learning: I know how to insert "REF" fields that
refer to a bookmark in the same document. But now I'd like to be able to have
the "REF" field refer to a completely separate document. My ultimate purpose:
I want to keep a master address list, and update that document alone, so I
can do quick F9 updates of the REF fields in other documents.

I've read that to "REF" to a bookmark location in another document, I use
the INCLUDETEXT field. But I don't know how to make that field know where to
look. I assume I add some field codes or switches in order to direct it where
to go. Is that correct, and if so--how do I write the switches/code?

Thanks for any help you can give me.

DDC



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.