Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2013, 08:25 PM
macropod's Avatar
macropod macropod is offline Mailmerge to Email with a mailmerge attachment Windows 7 64bit Mailmerge to Email with a mailmerge attachment Office 2010 32bit
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

I'd suggest checking the validity of what's in your sName & docName variables. You may have content that is not valid for a filename. I doubt the added page is an issue.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 02-06-2013, 05:58 AM
Baldeagle Baldeagle is offline Mailmerge to Email with a mailmerge attachment Windows XP Mailmerge to Email with a mailmerge attachment Office 2007
Advanced Beginner
Mailmerge to Email with a mailmerge attachment
 
Join Date: Apr 2012
Posts: 62
Baldeagle is on a distinguished road
Default

Thanks for your comments. I have had another look at what is happening in relation to the certificate that I am trying to split. Attached is an abridged version of the file that is created after merging the data (I have eliminated most personal information and have just included 2 records) - this is called 'CHY2 Merged.doc'. After I run the Macro 'SplitMergeForm' I get the error message 'Run time error '4198''. But the result is a document which I have called 'CHY2 - Result of Macro.doc' which has just the first page of the first certificate. When I look at 'CHY2 Cert Merged.doc' it now has the first page of the first certificate missing! I have attached this file and have called it 'CHY2 Merged (After Macro).doc'

Does this make any sense to you?
Attached Files
File Type: doc CHY2 Merged (After Macro).doc (89.0 KB, 15 views)
File Type: doc CHY2 - Result of Macro.doc (75.0 KB, 17 views)
File Type: doc CHY2 Merged.doc (97.0 KB, 21 views)
Reply With Quote
Reply

Tags
attachments, email



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge to Email with a mailmerge attachment Mailmerge to email as attachments j_Southern Mail Merge 12 03-03-2021 07:57 AM
Mailmerge to Email with a mailmerge attachment Mailmerge to email awstyle Mail Merge 1 05-31-2012 08:13 AM
Mailmerge to Email with a mailmerge attachment Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 13 05-29-2012 02:04 PM
Mailmerge to Email with a mailmerge attachment Email from MailMerge Baldeagle Mail Merge 4 04-06-2012 05:46 AM
Mailmerge to Email with a mailmerge attachment How do you add text to email mailmerge? DerekScambler Mail Merge 10 04-19-2011 05:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:41 PM.


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