Share via

Do you know what the rules for acceptable bookmark names are?

Anonymous
2022-05-10T15:14:16+00:00

Split from this thread. Use of bookmarks in IncludeText field.

Hi Doug

Do you know what the rules for acceptable bookmark names are? So when I tried to reference a bookmark "supp_fig_monocyte_cartoon" I get an error message but "x" and "sfig.monocartoon" both work?

thanks

Moderator's note:

This was split into a separate question to make it more likely you would receive an answer quickly. You added it at the end of your other question which had been marked as "Answered." Questions marked as Answered receive less attention.

How to Ask Questions In this Forum

Microsoft 365 and Office | Word | For business | 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

3 answers

Sort by: Most helpful
  1. Jay Freedman 207.6K Reputation points Volunteer Moderator
    2022-05-10T15:35:49+00:00

    The rules are that the name must start with a letter (or an underscore, which makes it a hidden bookmark), is limited to 40 characters, and cannot contain any spaces.

    Your example, "supp_fig_monocyte_cartoon", is a valid name, as I verified by creating that bookmark to surround a paragraph in a document named doc1.docx.

    In a separate document, I created an INCLUDETEXT field pointing to the doc1.docx document, and inserted that bookmark name:

    Updating that field displayed the paragraph correctly.

    When you tried this, did you see an error message? If you did, what did it say? If you didn't, then what happened instead?

    Also, how did you create the field, and what does its code look like?

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Stefan Blom 340.9K Reputation points MVP Volunteer Moderator
    2022-05-10T15:23:05+00:00

    I don't know why "supp_fig_monocyte_cartoon" doesn't work for you. It works fine here, but note that you can't include the actual quotation marks with the name (if that is what you were trying to do).

    The rule is that Word won't allow a bookmark name that starts with a character which is not a letter of the alphabet. EDIT: There is a character limit and no spaces are allowed (see Jay's reply).

    Internally, Word creates hidden bookmarks that starts with an underscore (these can be created via VBA).

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more