View Single Post
 
Old 12-06-2019, 03:03 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

For any other mailmerge main document, you would need to change the '8' in:
For r = .Rows.Count To 8 Step -1
to specify the top row to test and the '(2)' in:
If Len(.Cells(2).Range.Text) = 2 Then .Delete
to specify the column to test.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote