Discussion:
field code : just get value without table format
(too old to reply)
Jess
2010-05-28 01:57:01 UTC
Permalink
I want to get the value in a TABLE with bookmark (e.g. STYLE) using field
code with the following 2 ways :

{ = STYLE \* MERGEFORMAT}
I can get the value if it is numeric but get "0" is it is text.

{STYLE}
I can get the value either it is numeric or text in a table cell. However, I
want to get a value only, without the cell.

How can I get the value using Field Code??
Doug Robbins - Word MVP
2010-05-28 06:34:13 UTC
Permalink
You need to exclude the Cell End Mark from the bookmark so that it just
references the text in the cell.
--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
Post by Jess
I want to get the value in a TABLE with bookmark (e.g. STYLE) using field
{ = STYLE \* MERGEFORMAT}
I can get the value if it is numeric but get "0" is it is text.
{STYLE}
I can get the value either it is numeric or text in a table cell. However, I
want to get a value only, without the cell.
How can I get the value using Field Code??
Loading...