Thread: [Solved] Mailmerge document Stapling
View Single Post
 
Old 02-20-2025, 02:12 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Are you sure your mailmerge main document is the active one when you run the macro?

What happens if you insert:
Msgbox "Records: " & .MailMerge.DataSource.RecordCount
after:
With ActiveDocument
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote