#1
|
|||
|
|||
Mail Merging - Mergeseq + Send Via Email Merge
Mail Merging Multiple Rows One Document
Dont know if what i'm attempting to do is possible. Im sure it must be. I am very stuck though! Tried for hours. |
#2
|
|||
|
|||
You will want to export the spreadsheet to an Excel workbook and create a pivot table, then place an empty cell above each company name, then use a macro to take all of the data below each individual company name and transpose it into columns to the right of the data. I will attach the macro you will need to use as a text file.
|
#3
|
||||
|
||||
You can use Word's Catalogue/Directory Mailmerge facility for this (the terminology depends on the Word version). To see how to do so with any mailmerge data source supported by Word, check out my Microsoft Word Catalogue/Directory Mailmerge Tutorial at:
http://windowssecrets.com/forums/sho...merge-Tutorial or: http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip The tutorial covers everything from list creation to the insertion & calculation of values in multi-record tables in letters. Do read the tutorial before trying to use the mailmerge document included with it.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
||||
|
||||
Cross-posted at: http://windowssecrets.com/forums/sho...Doc-THEN-email
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Quote:
There is one slight prob i have now - when the macro transposes - the value of the date columns then becomes numerical. Is there a way I can retain the format of dd/mm/yyyy? |
#6
|
|||
|
|||
Quote:
I have attached my file - should you be kind enough / altruistic enough to have a look! I keep getting MERGESEQ or it JUST shows the invoice ref / amount. Nothing relating to the other fields? :S |
#7
|
|||
|
|||
Quote:
Thanks |
#8
|
||||
|
||||
Quote:
1. The field codes on the Microsoft website are just plain text and can't be used as is. The Microsoft website field codes are also quite different - I don't vouch for them; and 2. The field code the video purports to insert from the tutorial has different content to any that the tutorial has ever had. In other words, it wasn't imported as-is from the tutorial. What the video omits is that whoever produced it substantially edited the field codes beforehand. It also fails to mention that you need a dummy last record in the data source. See attached revised version of your document. I should also point out that, whereas your thread title indicates a desire to "Send Via Email Merge", the process you're using is not for that - it is only for producing an output document or sending the output direct to the printer. The tutorial has an entirely different process for email merges.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
Quote:
I tried emailing, said it was incompatible. However, mail merging to new doc - then sending via email merge should work no? Or would it require a different if then else rule? I.e. if company name = 1 then send to 'x' email? Thanks Macro |
#10
|
||||
|
||||
As I said in my previous reply:
"The tutorial has an entirely different process for email merges." I've been using Word for 25+ years.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#11
|
|||
|
|||
Quote:
Seems easier than I thought at first. Maybe it's because I am becoming accustomed to all of the {MERGEFIELD} meanings. I am running into a problem though. When I am following the tutorial section : Merging by Catalog/Directory to E-Mail I get stuck on exactly what it means to: Quote:
Any help would be appreciated. *to clarify my issue - 1) I dont quite understand why I am putting data fields into the "email merge main document" 2) isnt that already done by the directory? 3) If not, what does it mean exactly? That I should match the same fields that are in the directory? i.e. Company_Name, etc...and then insert those into the "email merge main document"? 4) Why then does the macro enabled document contain a table at all? Surely that inserts itself into the "email main merge document" and aligns with the email body? Hope that makes it clearer? Sorry for long post Thanks |
#12
|
||||
|
||||
Quote:
If you want to send emails with the letters as attachments, you'd need a different process from what the tutorial caters for. See, for example: http://word.mvps.org/FAQs/MailMerge/MergeWithAttachments.htm. Even that process assumes you have separate output documents that the macro there can attach. To create those, you'd need to use a mailmerge with the document form post #8 to create an initial output document, split that into separate documents, then complete the balance of the process in the above link.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#13
|
|||
|
|||
ah ok!
Thanks for your time and patience macro - really do appreciate it! Have a great w/e (or whats left of it) |
#14
|
|||
|
|||
Macro - I got a problem?
I tested the macro enabled mail merge today. I only get one email sent? I did it to a test account. All of the email receipients have the same email. 1) Do I have to input {MERGEFIELD Data} multiple times into my email merge main document? ... in order to get multiple entries? 2) Do i have to have the email merge main document connected to the same data source as the macro enabled directory? 3) The directory isnt set up to have multiple fields for each row...i.e. i havent transposed the rows...that's what im trying to get around. So cannot see the directory needing multiple {MERGEFIELD INV_Ref} etc. I hope you've heard of this before? Thanks |
#15
|
||||
|
||||
Quote:
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mail merge in excel to send pdf forms | heyullama | Excel | 7 | 12-01-2013 03:32 PM |
Mail Merge Many URLs in one email by common email address | instantaphex | Mail Merge | 3 | 04-29-2013 05:46 PM |
Mail Merge to email, changing images on email layout | ginelli | Mail Merge | 18 | 02-23-2013 09:47 AM |
Mail Merge with Booklets is Merging all documents into One stapled Booklet | 15Degrees | Mail Merge | 1 | 01-31-2013 02:06 AM |
Send e-mail message in Finish & Merge | CDTom | Mail Merge | 1 | 08-24-2012 12:52 AM |