Reply
 
Thread Tools Display Modes
  #1   Report Post  
Vick
 
Posts: n/a
Default Make merged field bold if merged field is > 3

if merged field 3 then the merged field needs to be bold, otherwise it
should not be in bold.
  #2   Report Post  
Greg Maxey
 
Posts: n/a
Default

Vick

Try something like:

{ IF { Test } "3"{ Test \* Charformat }{ Test } }

Replace "Test" with your mergefield name and apply bold format to the "T"
immediate to the right of the value 3. Look up Charformat in Word help and
you will get an explanation and other examples.

--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

Vick wrote:
if merged field 3 then the merged field needs to be bold, otherwise
it should not be in bold.



  #3   Report Post  
Vick
 
Posts: n/a
Default

The following did not work because the merged field is formatted as numeric
and needs to be tested as 3 (or a specific number). The original merged
field appears as

{Mergefield "v1Mean"\# ##0.##}

So I am trying to format the above merged field in bold if the number
(v1Mean) is greater than 3.

Any more help greatly appreciated.

Vick

"Greg Maxey" wrote:

Vick

Try something like:

{ IF { Test } "3"{ Test \* Charformat }{ Test } }

Replace "Test" with your mergefield name and apply bold format to the "T"
immediate to the right of the value 3. Look up Charformat in Word help and
you will get an explanation and other examples.

--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

Vick wrote:
if merged field 3 then the merged field needs to be bold, otherwise
it should not be in bold.




  #4   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi ?B?Vmljaw==?=,

The following did not work because the merged field is formatted as numeric
and needs to be tested as 3 (or a specific number). The original merged
field appears as

{Mergefield "v1Mean"\# ##0.##}

So I am trying to format the above merged field in bold if the number
(v1Mean) is greater than 3.

What Gregy showed you works when I test it with your numerical switch, and
take away the "quotes" around the 3. You also need to insert spaces between
the various parts of the equation (see below). Sometimes, Word cares whether
something is textual or numeric; but most of the time it doesn't matter.

{ IF { Test \# "##0.##" } 3 "{ Test \# "##0.##" \* Charformat }" "{ Test \#
"##0.##" }" }

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

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
how do I make the cursor on a form go from field to field in the . tree_tender Tables 1 December 11th 04 02:00 AM
Format a merged numeric field Hema Mailmerge 1 December 8th 04 12:51 AM
Text Form Field Ref in Footer Won't Update on Screen StarWine Microsoft Word Help 3 December 6th 04 06:17 PM
Please make a business calendar template with bold font and all t. Office Employee Microsoft Word Help 0 November 24th 04 06:25 PM


All times are GMT +1. The time now is 03:22 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"