View Single Post
 
Old 07-26-2021, 03:38 AM
JamesWood JamesWood is offline Windows 10 Office 2019
Advanced Beginner
 
Join Date: Nov 2020
Posts: 37
JamesWood is on a distinguished road
Question Record count on merge

Hi guys


I have a simple code here which displays the record count of a mail merge in Word:


Sub CountRecipients()
MsgBox (ActiveDocument.MailMerge.DataSource.RecordCount)
End Sub


However if you edit the recipients list and untick a few, the record count macro above still remains the same, showing all records rather than less.


Any thoughts?


Thanks a lot
James
Reply With Quote