View Single Post
 
Old 05-01-2024, 11:47 PM
Dobracik1 Dobracik1 is offline Windows 11 Office 2021
Novice
 
Join Date: May 2024
Posts: 2
Dobracik1 is on a distinguished road
Unhappy MailMerge - removing empty row

Hi all,


I'm completely newbie in word mailmerge and Word VBA.
I have an excel file, where I have 1 column linked to Word via mailmerge where output of it is a template of agreement for employees. In that column I have complex formula which concatenated multiple articles where is a change for employee.

If there s no change is shows me "". As each article should have his own row in word, when there is no changes in article it gives me automatically empty row

Is there any option to remove that or setup it in mail merge, only? Find and replace in this case does not work, as this is removing me empty rows from the whole template, which I actually need but not from mailmerge.
Attaching the empty sample with my specific mailmerge.



Thanks,
Andy
Attached Files
File Type: docx Mailmerge_Test.docx (13.2 KB, 7 views)
Reply With Quote