Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2013, 09:02 PM
dotsofcolor dotsofcolor is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 64bit
Novice
Mailmerge categories to email
 
Join Date: Feb 2013
Posts: 6
dotsofcolor is on a distinguished road
Default Mailmerge categories to email

The attached sample on #13 (https://www.msofficeforums.com/mail-...html#post23345) is brilliant, very well done!

This looks like something that might help me as well. I'm looking to apply a different method though. Can this procedure be applied to an e-mail style mail merge. I have multi-line item confirmations that I would like to send out via e-mail. It would basically reference an order number, order date, name and address, and the listing of the line items, some might have one line some might have several. I noticed that the page 3 of the Westmoreland Mailmerge Output.doc looks like it would work since that is multi-line. Can this be process be used to merge to an e-mail and the contents of the single page populate the body of the e-mail, not be included as an attachment. Hope this makes sense. Also wasn't sure if I sure put this as a new post since this one pertains to the specifics I was looking for. Thought that I should ask as I was reading your tutorial.

Last edited by macropod; 02-07-2013 at 06:53 PM. Reason: Added link
Reply With Quote
  #2  
Old 02-05-2013, 01:38 AM
macropod's Avatar
macropod macropod is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi dotsofcolor,

The tutorial referenced in post #2 (https://www.msofficeforums.com/mail-...html#post23251) in that thread shows how the process can be used for an email merge, with the output going into the email body.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]

Last edited by macropod; 02-07-2013 at 06:55 PM. Reason: Added link
Reply With Quote
  #3  
Old 02-07-2013, 07:25 PM
dotsofcolor dotsofcolor is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 64bit
Novice
Mailmerge categories to email
 
Join Date: Feb 2013
Posts: 6
dotsofcolor is on a distinguished road
Default let's start here

Thanks Paul! :-) I have gone through several posts trying to figure out what I may be doing wrong, so far no luck. I have read a lot of your posts and I know you get this a lot. I was hoping to figure it out on my own but couldn't.



I have an important project that I’m working on and I figure that if I can’t get the example to work then I won’t get far on my project or trying an e-mail directory style merge. Also Graham Mayor's add-in is not an option at the moment because of IT policies. :-( Thanks you in advance for your help, Paul
Attached Files
File Type: docx Tutorial Help Please.docx (73.2 KB, 13 views)
Reply With Quote
  #4  
Old 02-07-2013, 07:33 PM
macropod's Avatar
macropod macropod is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi David,

From reading your document it looks like what you haven't done is to execute the merge, which you do by clicking on the 'Finish & Merge' button. You should be able to simply copy & paste the code from any of the examples in the tutorial into the mailmerge main document, then click on the 'Finish & Merge' button to generate the output (I'd suggest choosing the 'edit individual documents' option).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 02-07-2013, 08:24 PM
dotsofcolor dotsofcolor is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 64bit
Novice
Mailmerge categories to email
 
Join Date: Feb 2013
Posts: 6
dotsofcolor is on a distinguished road
Default Excellent :-) Now for the next step

Wow, I'm feeling egg on face. Really appreciate the push forward.

Not sure why it didn't occur to me that the code had to be executed by the merge process itself and that the preview option does not do that.

Thanks so much Paul. Okay, let me finish formatting my test data source and see if I can try your
Merging by Catalog/Directory to E-Mail tutorial.

Hope you won't mind helping me further if I get stuck with that. I am sure that I will add to this thread.

Curious, are there videos or other text sources that detail the catalog/Directory and using the Rules process further?

Yours Tutorial is the best that I have been able to find and I'm glad that you provided it.

Attached Files
File Type: doc Directory7Test.doc (31.5 KB, 9 views)
Reply With Quote
  #6  
Old 02-07-2013, 11:34 PM
macropod's Avatar
macropod macropod is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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'm not aware of any other resources that attempt to provide anywhere near the level of detail I've provided on Directory/Catalogue merges in the tutorial.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 02-13-2013, 06:58 PM
dotsofcolor dotsofcolor is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 64bit
Novice
Mailmerge categories to email
 
Join Date: Feb 2013
Posts: 6
dotsofcolor is on a distinguished road
Default

Hi Paul,

Went through many of your tutorials and learned several things along the way. Good stuff. :-)


I decided to try the e-mail merge. I was getting assorted errors; I had to adjust how I was doing it along the way. I walked through the whole macro using F8 which really helped me understand better what was happening. However, I came across this one and saw some info about it on the net but it did not help.

"Microsoft Visual Basic Run-time error '5630'. The text of it is: "Word cannot merge documents that can be distributed by mail or fax without a valid mail address. Choose the Setup button to select a mail address data field."

What might I be doing wrong that would cause this to come up?

Reply With Quote
  #8  
Old 02-13-2013, 07:07 PM
macropod's Avatar
macropod macropod is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

That suggests you're trying to merge to email at the wrong point in the process, or without a valid email address for one or more records.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 02-13-2013, 07:28 PM
dotsofcolor dotsofcolor is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 64bit
Novice
Mailmerge categories to email
 
Join Date: Feb 2013
Posts: 6
dotsofcolor is on a distinguished road
Default

I checked the e-mail address in all the records and made sure it was valid and the same. Maybe I think that something is happening that actually isn't. I see an e-mail address that populates the recipient area of the document EmailDataSource.doc I thought that is where it's picking up the e-mail address.

Is that where it's supposed to get the e-mail from? Where is it looking for the e-mail address?

I know that I have 4 files in play.

E-mail Merge Main Document
The file that I created for the Catalog/Directory, I called it mergedircat
EmailDataSource
and the data source file Catalogue Merge Data
Reply With Quote
  #10  
Old 02-13-2013, 11:12 PM
macropod's Avatar
macropod macropod is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi David,

Does your 'EmailDataSource' document look like the one in the tutorial, with the email addresses in the first column, and with the 'Recipient' header? Note also that your 'EmailDataSource' document won't exist until after the macro had been run. In fact, the macro will delete that document if it exists when the macro starts.

Is the 'RunMerge' macro in your 'mergedircat' document and is that the ActiveDocument when you run the macro? Did you save your 'mergedircat' document in the same folder as your 'Email Merge Main Document' before running the macro?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #11  
Old 02-14-2013, 08:13 PM
dotsofcolor dotsofcolor is offline Mailmerge categories to email Windows 7 64bit Mailmerge categories to email Office 2010 64bit
Novice
Mailmerge categories to email
 
Join Date: Feb 2013
Posts: 6
dotsofcolor is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Hi David,

Does your 'EmailDataSource' document look like the one in the tutorial, with the email addresses in the first column, and with the 'Recipient' header? Note also that your 'EmailDataSource' document won't exist until after the macro had been run. In fact, the macro will delete that document if it exists when the macro starts.

Is the 'RunMerge' macro in your 'mergedircat' document and is that the ActiveDocument when you run the macro? Did you save your 'mergedircat' document in the same folder as your 'Email Merge Main Document' before running the macro?
Hi Paul,

The EmailDataSource document does look like the one in the tutorial and shows in the same directory as the other files when I run it.

This time I got the macro to run all the way through. No errors. Now I think I need further guidance. I was expecting that it would start shoving e-mail through outlook but I think you'll tell me there is another step that I need to perform to get the new tabled data to go out via e-mail, correct?

I attached the document so you could see what it looks like. I made all the e-mail addresses the same.

Thanks Paul.
Attached Files
File Type: doc EmailDataSource.doc (31.5 KB, 13 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge categories to email Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 8 02-11-2013 04:40 AM
Mailmerge categories to email Mailmerge to email awstyle Mail Merge 1 05-31-2012 08:13 AM
Mailmerge categories to email Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 13 05-29-2012 02:04 PM
Mailmerge categories to email Email from MailMerge Baldeagle Mail Merge 4 04-06-2012 05:46 AM
Mailmerge categories to email 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 04:37 PM.


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