![]() |
| Computer Juice Magazine |
|
|||||||
| Register | Site Spy | Member List | Donate | Unanswered Posts | Search | Today's Posts | Mark Forums Read | Forum Rules |
![]() |
|
|
Thread Tools |
|
#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. [SIZE=3][/SIZE] |
|
#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
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Word 2007, Excluding pages from word count | snowblind | Office Suites & Applications | 8 | 21st Mar 2009 12:27 |
| Word 2007 Smart Art bug? | rockyshred336699 | Office Suites & Applications | 0 | 18th Apr 2008 08:58 |
| Word 2007 help | robina80 | Office Suites & Applications | 2 | 21st Jan 2008 13:53 |
| Merge outlook contact into word 2007.dot template | RFgen | Office Suites & Applications | 1 | 19th Sep 2007 07:47 |
| Word 2007 | Maria | Office Suites & Applications | 3 | 10th Jun 2007 16:34 |
| Tags |
| 2007, mail, merge, question, results, word |
| Bookmarks |
| Thread Tools | |
|
|