Share via

Insert text using bookmarks or mergefield__

Anonymous
2010-08-30T16:50:40+00:00

Trying to merge text (actually a Table Caption) from one word doc to another word document.  Using the INCLUDE TEXT field code but am unable to specify correctly a bookmark or merge field.  Result is the entire file (table, not just the caption) is being inserted into the TOC and not the bookmarked text (the caption).  I'm trying to use the INCLUDE TEXT in the TOC of the target doc so that the TOC picks up the tables from the source documents.

Can you bookmark a caption w/o picking up the entire table?

Don't know the corrrect syntax for using INCLUDE TEXT with MERGEFIELD.

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-08-30T20:06:56+00:00

> Can you bookmark a caption w/o picking up the entire table?

You should be able to.

> Don't know the corrrect syntax for using INCLUDE TEXT with MERGEFIELD.

{ INCLUDETEXT "the full path name of the file to be included, with double-up backslashes" thebookmarkname }

So if your caption is in c:\mydocs\mydoc.doc and you have bookmarked the caption with a boomark named "mybm" then you would need

{ INCLUDETEXT "c:\mydocs\mydoc.doc" mybm }

If that isn't working, the first things I would check are that

 a. you have got the pathname correct. It's very easy to add a space at the beginning or end by accident

 b. the bookmark exists, and covers the text you expect

 c. you have got the bookmark name correct


Peter Jamieson

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful