Is it possible to add something into a mail merge which inserts a new line?
We are trying to force people in our organisation to follow strict guidelines when writing letters. I have written a little application in Delphi which accepts input such as recipient, address, signature, cc etc and sticks it into a table in a html file. My template then reads this html file and merges it to create the document. My problem lies here: there are some fields, for example, sent by fax, which will only be included if a checkbox is selected. Currently, if this is not included, my word document leaves too big a gap where I've pencilled it in. I'd like to change the word doc so that the merge pulls in all the 'optional extras' on the same line as what comes after it, and then include a carriage return in the table where it pulls the data in from. That way, if the item isn't included, nothing will be added and I won't have extra white space. Is it possible? I also have areas where I'd like to add tab characters.
I hope you can help me, this is driving me nuts :) If my description of the problem isn't clear enough, please let me know what I need to clarify and I will!