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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Automatically delete a line if nothing on it??
Hey guys, Is it possible to have MS Word automatically check a line for characters and then delete that line if no characters are found on it (except the null / space bar character obviously)? I am using a Word XML 2003 document to import data and concatenate the finished product into a word doc for mailing to customers. For example, if I'm importing this: {!contact.firstname;} {!contact.lastname;} {!contact.title;} and the database I'm using *only* contains data for the *firstname* and *title* (doesn't have his last name) of the person, then I'd want it to print this: John Technical Production Assistant NOT THIS: John Technical Production Assistant So is there some special syntax or command I can put after the importing element of each line (in the word 2003 xml file), so it will delete that line if there are no real characters that are merged to it in the final .doc file? ? -- UCHelp |
Thread Tools | |
Display Modes | |
|
|