A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

field code : just get value without table format



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2010, 02:57 AM posted to microsoft.public.word.tables
Jess
external usenet poster
 
Posts: 135
Default field code : just get value 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  
Old May 28th, 2010, 07:34 AM posted to microsoft.public.word.tables
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default field code : just get value without table format

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

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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.