Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2017, 04:54 AM
macropod's Avatar
macropod macropod is offline Catalogue Email Merge with Delay Between Messages Windows 7 64bit Catalogue Email Merge with Delay Between Messages Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,382
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

Which document is getting these extra tables? The changes I made to the code have no effect on the 'Email Merge Main Document.doc' or the 'EmailDataSource.doc', so if the erroneous result affects either of those, it's because of something else you've done.



The '.Execute Pause:=False' line has nothing to do with the error you're getting.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 03-14-2017, 05:21 PM
Berryblue67 Berryblue67 is offline Catalogue Email Merge with Delay Between Messages Windows 10 Catalogue Email Merge with Delay Between Messages Office 2010 64bit
Novice
Catalogue Email Merge with Delay Between Messages
 
Join Date: Mar 2017
Posts: 6
Berryblue67 is on a distinguished road
Default

Sorry the EmailDataSource file that the mail merge creates. I figured out why the extra rows were being generated and why the endless loop. The Excel file somehow got corrupted and had thousands of blank rows that the merge was reading as actual data. I created a new file and that issue disappeared.

So I am able to run the file without changing anything except that the email would be in HTML format and the subject, as seen below. I wanted to see it run before I changed the timing. It ran but it never generated emails to my Outlook account. It does nothing but create the EmailDataSource file and the macro ends. I verified that the code read exactly the same and the file is created successfully.

.MailSubject = "Terminate"
.MailFormat = wdMailFormatHTML
'.MailFormat = wdMailFormatPlainText

Most importantly, thank you so much for helping me with this.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Catalogue Email Merge with Delay Between Messages Email Merge With Delay nevin27 Mail Merge 29 02-17-2023 09:26 AM
Catalogue Email Merge with Delay Between Messages Activating Unique Links in Email Messages Using a Mail Merge User02182016 Mail Merge 1 02-23-2016 06:02 PM
Delay After Hours Messages Automatically kskalwat Outlook 0 03-18-2015 02:59 PM
Catalogue e-mail merge problem lol22 Mail Merge 4 02-15-2013 02:59 AM
Email send delay--where? markg2 Outlook 8 02-14-2010 03:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:34 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft