View Single Post
 
Old 08-19-2021, 09:35 AM
wacobc wacobc is offline Windows 10 Office 2016
Novice
 
Join Date: Aug 2021
Posts: 1
wacobc is on a distinguished road
Default Remove blank lines in mail merge using table

I am attempting to create an address/phone directory mail merge in Word, data source is Excel.
Like many others that have posted, I find that blank lines reside where there is no data in the source file - such as having 2 address lines but only 1 populated. I tried the \b "" trick - both with and without using a table. I cannot get it to work to remove the blank lines either way. I have attached files for both styles with the mail merge codes (\b trick is removed).
Is there a way to remove the blank lines other than manually after finishing the merge?
Attached Files
File Type: docx Address Book Merge File - No Table.docx (24.3 KB, 6 views)
File Type: docx Address Book Merge File - Table.docx (16.1 KB, 5 views)
Reply With Quote