Cross-reference does not maintain formatting from bookmark
I have created a macro that basically pulls text from each cell in a table and turns it into a bookmark. I then cross-reference to those bookmarks later in the Word document. For some reason, the cross-references are not maintaining the formatting of the bookmarks (which is what I want it to do). I checked the bookmarks/cross-references and "preserve formatting" is not selected. Additionally, the field codes only say {REF XYZ}. In other words, I don't have\*MERGEFORMAT or Charformat on any of the cross-references. The weird thing is that it appears to only be affecting the Bold formatting. So if my bookmark text is bolded, the cross-reference shows up unbolded and vice versus. It is as if it is turning the bold switch on or off so that it is opposite of the bookmarked text. I can't seem to figure out why this is happening. Any suggestions? Also, my macro that creates the bookmarks does nothing to the text. It merely selects the text from a cell and creates a bookmark via ActiveDocument.Bookmark.Add etc. I am using Word 2010.
|