Remove space if a merge field is blank
doing letter mail merge employees. not employees have middle initial additional blank space created in final merge. want space close there 1 space between first , last name. used if else option that's not correct - prompts additional text, not allow deleting space...unless there's special syntax , don't know is. help! (using microsoft word 2010, data excel 2010)
you can via \b or \f mergefield switch. see: http://office.microsoft.com/en-us/word-help/field-codes-mergefield-field-hp005186172.aspx
(you can also via if field, switch simpler)cheers
paul edstein
[ms mvp - word]
Microsoft Office > Word IT Pro Discussions
Comments
Post a Comment