Cross-referencing to a Bookmark in Word brings across the Content Control that the bookmark text is in, when it should just bring across the text.

Just 6 Reputation points
2022-12-14T11:43:19.213+00:00

I'm cross-referencing to a heading that is in a content control on a Cover Page, but the cross-reference doesn't come across as just the Heading text, it also brings across the content control with all its settings i.e. 'content control can't be deleted or edited' so that the cross-reference then can't be deleted without going into the Design Mode under the Developer tab. This creates problems for editors who may need to delete the cross-reference or change it easily as they would any other cross-reference. How do I make the cross-reference come across as just text and not a content control.

Microsoft 365 and Office | Word | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Charles Kenyon 3,236 Reputation points Volunteer Moderator
    2022-12-14T23:14:40.28+00:00

    The Title Page content controls are mapped content controls built into Word. All but the Publish Date control are plain text controls. They will not hold a bookmark but can have a bookmark.

    Instead of using Cross-Reference, copy the content control and paste where you want the copy.
    https://addbalance.com/word/MappedControls.htm#PageStart
    That is the idea of mapped controls. Each copy is a duplicate original and a change made in any spot will be reflected in all copies.

    1 person found this answer helpful.
    0 comments No comments

  2. Peter Jamieson 116 Reputation points
    2022-12-21T12:16:28.413+00:00

    FWIW I do not think there is a particularly good way to work around this. The available options include...

    If you use Insert->Quick Parts->Document Property and then choose something like Title or Subject, the the Content Control will be a plain text one. In that case, bookmarking either parts of the text or the entire text within the control is not allowed (i.e. bookmarks are really a "rich text" feature. So any bookmark has to be applied to the whole control, and that means that any { REF } field will "pull in" the control as well as the text. It might be handy if there were a field switch/option that would let you avoid that, but there isn't.

    In some circumstances you might be able to use a STYLEREF field to get the text and not the content control - your content control would need to be on its own in a paragraph with a style you don't use elsewhere, let's say "mystyle". Then you could use { STYLEREF "mystyle" } to bring in the first 255/256 characters of the text. But then people editing the document wouldn't be able to modify the reference anyway and you might as well just use another copy of the content control.

    To use a REF field to reference all or part of the text without pulling in a copy of the control, you would have to insert a rich text control, then bookmark either parts of the text or the whole text. Even then, if you make a cross-reference to a Heading style, Word will probably create a bookmark that includes the content control - instead, you would need to make your own bookmark to avoid selecting (say) the final paragraph mark. Or bookmarks for the parts of the text that people want to cross-reference. And that in itself is a maintenance problem, because someone modifying the heading text has to know what bookmarks need to be restored if they are deleted.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.