Field Code : bookmark

J

Jess

I want to get a bookmark value that is from same document. However, the value
is in a table cell. If I use field code, e.g. {USERNAME}, a table cell with a
value will be get.
How can I get the it without table format only??
 
G

Graham Mayor

If you want to cross reference only the *content* of a table cell then
bookmark only the content that you want to cross reference. However the
{UserName} field is a system field and has no relevance whatsoever to
tables. If you want to cross reference a bookmarked item called UserName
then you would need to indicate to the Word that it is a cross reference and
not the system field thus {REF UserName}

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Stefan Blom

If you want to cross reference only the *content* of a table cell then
bookmark only the content that you want to cross reference.

There is one advantage to bookmarking an entire cell, though: you cannot delete the bookmark by mistake, which might happen when it encloses text in the cell.

For numeric contents, you can use a numeric picture switch, for example { REF bookmark_name \# "0" }, to prevent Word from cross-referencing the entire cell.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top