![]() |
|
#1
|
|||
|
|||
|
I am creating a word document with multiple test criteria and am wondering how I would remove a space if the data is not shown. Here is my code-
1.{IF{mergefield cst_ela}="proficient""english cst: proficient"""} 2.{IF{mergefield cst_elb}="proficient""history cst: proficient"""} 3.{IF{mergefield cst_elc}="proficient""math cst: proficient"""} 4.{IF{mergefield cst_eld}="proficient""science cst: proficient"""} The leading numbers are just for show here. So if 1 is true it shows up but if 2 is not true its blank and 3 could be true as well so the letter will have a blank line between 1 and 3. Is there a way to tell it if 2 is blank remove space?I hope this makes sense, any help would be greatly appreciated. |
|
#2
|
||||||||||||
|
||||||||||||
|
if you were to list them out ie -
__________________
{IF{mergefield cst_ela}="proficient""english cst: proficient"""}{IF{mergefield cst_elb}="proficient""history cst: proficient"""} rather than placing a lin between the actual code.. would this solve your problem? My System: FordyPC
|
|
#3
|
||||||||||||
|
||||||||||||
|
Have a look at these KB articles.
http://support.microsoft.com/kb/264892 http://support.microsoft.com/kb/116360 If you don't understand it I can try to help you more (I don't know much about these mailmerge statements though!.... I can learn) Heres another good tutorial http://word.mvps.org/FAQs/MailMerge/MMergeIfFields.htm
__________________
__________________
serverguy My System: Eclipse
|