Thread: [Solved] Mailmerge document Stapling
View Single Post
 
Old 02-19-2025, 03:13 PM
DruB DruB is offline Windows 11 Office 2021
Novice
 
Join Date: Feb 2025
Posts: 3
DruB is on a distinguished road
Default Mailmerge document Stapling

I have been trying the code from https://www.msofficeforums.com/mail-...documents.html in my MailMerge and, when I would run it, the computer would do nothing. I asked ChatGPT why that might be. I gave me some new code to add, including a record counter and a message box that would activate if my mail merge found no records in my source document. Sure enough, when I ran that code I got the "no records" message. But when I run the mail merge manually, everything works fine with no issues. When I record a simple macro to print one record everything works fine with no issues. My data source is a table in another word document, it is not an excel file or anything else.

What could be going on?

Last edited by macropod; 02-20-2025 at 05:01 PM. Reason: Solit from original thread
Reply With Quote