From: Jess on
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??

From: Doug Robbins - Word MVP on
Answered elsewhere. You must exclude the cell end marker from the bookmark
so that it just contains the text.

--
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

"Jess" <Jess(a)discussions.microsoft.com> wrote in message
news:4E54DF1D-5DE9-43F4-BB01-692AC97BAFE3(a)microsoft.com...
> 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??
>
From: Jess on
How to exclude the cell end marker??
Becuase I want to use it on template, so that I need bookmark a while cell
instead of value.


"Doug Robbins - Word MVP" wrote:

> Answered elsewhere. You must exclude the cell end marker from the bookmark
> so that it just contains the text.
>
> --
> 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
>
> "Jess" <Jess(a)discussions.microsoft.com> wrote in message
> news:4E54DF1D-5DE9-43F4-BB01-692AC97BAFE3(a)microsoft.com...
> > 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??
> >
From: Doug Robbins - Word MVP on
Give us some more information of what it is that you want to do with the
template so that we may be able to suggest another way of doing it that will
avoid the problem.


--
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

"Jess" <Jess(a)discussions.microsoft.com> wrote in message
news:4102B136-1911-4A7C-9106-3B879759F4B9(a)microsoft.com...
> How to exclude the cell end marker??
> Becuase I want to use it on template, so that I need bookmark a while cell
> instead of value.
>
>
> "Doug Robbins - Word MVP" wrote:
>
>> Answered elsewhere. You must exclude the cell end marker from the
>> bookmark
>> so that it just contains the text.
>>
>> --
>> 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
>>
>> "Jess" <Jess(a)discussions.microsoft.com> wrote in message
>> news:4E54DF1D-5DE9-43F4-BB01-692AC97BAFE3(a)microsoft.com...
>> > 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??
>> >
From: Jess on
for example, a template contains a table with 2 columns (A & B) and 2 rows (1
& 2) :

cell A1 is a label (e.g. Style No.)
cell A2 is a label (e.g. Article No.)
whole cell B1 bookmarked as STYLENO
whole cell B2 bookmarked as ARTNO

B1 & B2 will be input by user and get the value through bookmark that will
be used on other page to eliminate duplicate input. So that I use
{ = STYLENO \* MERGEFORMAT} or {STYLE}
to get the value ONLY (without table format).

Have any easy way the do this??
Many thanks.


"Doug Robbins - Word MVP" wrote:

> Give us some more information of what it is that you want to do with the
> template so that we may be able to suggest another way of doing it that will
> avoid the problem.
>
>
> --
> 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
>
> "Jess" <Jess(a)discussions.microsoft.com> wrote in message
> news:4102B136-1911-4A7C-9106-3B879759F4B9(a)microsoft.com...
> > How to exclude the cell end marker??
> > Becuase I want to use it on template, so that I need bookmark a while cell
> > instead of value.
> >
> >
> > "Doug Robbins - Word MVP" wrote:
> >
> >> Answered elsewhere. You must exclude the cell end marker from the
> >> bookmark
> >> so that it just contains the text.
> >>
> >> --
> >> 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
> >>
> >> "Jess" <Jess(a)discussions.microsoft.com> wrote in message
> >> news:4E54DF1D-5DE9-43F4-BB01-692AC97BAFE3(a)microsoft.com...
> >> > 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??
> >> >