Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
jess jess is offline
external usenet poster
 
Posts: 33
Default Field Code : get bookmark (text) without table format

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

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Field Code : get bookmark (text) without table format

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" wrote in message
...
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??

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Field Code : get bookmark (text) without table format

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" wrote in message
...
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??

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
jess jess is offline
external usenet poster
 
Posts: 33
Default Field Code : get bookmark (text) without table format

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" wrote in message
...
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??

  #5   Report Post  
Posted to microsoft.public.word.docmanagement
jess jess is offline
external usenet poster
 
Posts: 33
Default Field Code : get bookmark (text) without table format


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" wrote in message
...
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??



  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Field Code : get bookmark (text) without table format

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" wrote in message
...
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" wrote in message
...
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??

  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Field Code : get bookmark (text) without table format

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" wrote in message
...
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" wrote in message
...
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??

  #8   Report Post  
Posted to microsoft.public.word.docmanagement
jess jess is offline
external usenet poster
 
Posts: 33
Default Field Code : get bookmark (text) without table format

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" wrote in message
...
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" wrote in message
...
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??

  #9   Report Post  
Posted to microsoft.public.word.docmanagement
jess jess is offline
external usenet poster
 
Posts: 33
Default Field Code : get bookmark (text) without table format


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" wrote in message
...
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" wrote in message
...
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??

  #10   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Field Code : get bookmark (text) without table format

And how is it used on the other page?

You could use VBA to get the contents of cells B1 and B2 without the end of
cell marker or to modify the range of the bookmark after the user has
entered the data



--
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" wrote in message
...
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" wrote in message
...
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" wrote in message
...
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??



  #11   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Field Code : get bookmark (text) without table format

And how is it used on the other page?

You could use VBA to get the contents of cells B1 and B2 without the end of
cell marker or to modify the range of the bookmark after the user has
entered the data



--
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" wrote in message
...
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" wrote in message
...
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" wrote in message
...
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??

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Field Code : bookmark Jess Microsoft Word Help 4 April 22nd 10 12:26 PM
Table field code referencing table cell with text Helge V. Larsen Tables 1 July 16th 09 09:32 AM
updated field (from bookmark) format inconsistent usefulfacts Formatting Long Documents 2 June 24th 07 07:23 PM
Can I format zip code merge field to add hyphen if zip plus 4? ShaniraW Mailmerge 1 March 7th 06 07:36 PM
User-defined table format using Database field code Papy2000 Mailmerge 1 December 19th 04 10:38 AM


All times are GMT +1. The time now is 08:38 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"