Questions tagged [mailmerge]

A software function which provides the ability to create multiple (and potentially large numbers of) documents from a single template form and a structured data source.

Mail merge is a software function which provides the ability to create multiple (and potentially large numbers of) documents from a single template form and a structured data source. Often these documents are letters and/or labels to be sent to a number of recipients (hence the term).

It is expected that questions about mail merging relate to programming in some way. You should tag your question with the programming language or technology you are using to perform the mail merge.

Related Tags:

Links:

707 questions
2
votes
1 answer

Adding attachment to mail merge to email

I am trying to create a mail merge to email which also adds an attachment. I am following a procedure outlined in the article http://word.mvps.org/FAQs/MailMerge/MergeWithAttachments.html The emails are created and sent to the correct email…
kfeeney
  • 919
  • 1
  • 8
  • 13
2
votes
2 answers

How can i search and replace strings in Node JS

I am trying to write some code which allows me to pass a doc as a string which is either plain txt or html and has some fields embeded i want to replace with personal values. something like for example like this Hi {{ first_name | fallback: "there"…
MisterniceGuy
  • 1,646
  • 2
  • 18
  • 41
2
votes
2 answers

Python script - insert image using mailmerge into docx file

I'm working on a python script which analyses excel file and based on than filling in docx files with multiple variables using mailmerge library. For string values all is working fine but I have a problems with inserting image into a file. As I have…
bgr88
  • 21
  • 1
  • 5
2
votes
0 answers

Mailchimp conditional merge tags - to use conditional date logic based on today

I am using a date token, which is filled in a signup form. I would like to do conditional logic, based on whether the date is less than 2 weeks away from today. I would like to do something like the below *|IF:CHECKINDATE
Karl Cassar
  • 6,043
  • 10
  • 47
  • 84
2
votes
1 answer

C# Word Interop: using built-in "Update Labels" function in Mailings

My C# VSTO Add-In for Word helps generate specialized labels for a Mail Merge. Mailing Labels are created in the document, and the first label in the "table" of labels is populated programmatically: Word.Field myField =…
Phil
  • 96
  • 1
  • 9
2
votes
1 answer

Outlook 'Flow' AppBuilder issues - Branching Condition Not Satisfied

tl;dr - approval settings not working in Outlook Flow Of 130 staff, I need to when they leave who has returned all their kit. My Column is titled 'Further Action Required.' I want to set up a weekly email which, if this cell is set to 'Yes', emails…
CamillasAlias
  • 21
  • 1
  • 1
  • 5
2
votes
0 answers

Identify last record in MailMerge

When working with a list of items (using RangeStart and RangeEnd), how to you identify the last record? The examples I've seen so far use IF and MERGESEQ to check for the first item or use SET to set a value to be checked later. If I want to write…
Richard
  • 145
  • 8
2
votes
0 answers

How to Copy Merge Field From Browser & Paste Into MS-Word?

How can I copy a Mail Merge Field from any browser and paste it into MS-Word? I'm trying to build a web page where all you have to do is click a button or link to copy a Mail Merge Field from the page, and be able to paste it into MS-Word. I've…
michcoth
  • 65
  • 6
2
votes
1 answer

Set Result in FieldChar using Open XML SDK

I am working on an application that uses Microsoft Word files as a template to generate documents. I use Merge fields to get data into my documents. A SimpleField can have its result set fairly easy: SimpleField f =…
Bart Friederichs
  • 33,050
  • 15
  • 95
  • 195
2
votes
2 answers

VBA Mailmerge to pdf Output

Good Morning I have modified the code from this post: Automating Mail Merge using Excel VBA But I only want pdf output but as soon as I take out the word code, it baulks. I think the problem is that if I don't save it as word, it doesn't shut the…
2
votes
1 answer

Selecting only one row from a excel sheet (as part of mail merge)

I am totally new to VBA and I am writing a code to mail merge data from each row in an excel sheet to a certain word document and save that document with name corresponding to the first cell value from each row. Each row contains the information of…
Rahul Ramesh
  • 25
  • 1
  • 4
2
votes
1 answer

How to repeat the whole page with content control data binding (docx)

I use the docx4j for creating documents fed with XML data. The ContentControlBindingExtensions example shows how to use a simple for loop over the data to generate rows in invoice for each item from the XML file. However, I can not find any way to…
fracz
  • 20,536
  • 18
  • 103
  • 149
2
votes
3 answers

Word Mail Merge from ASP.NET web application

What is the best way to do this. I dont have access to the database since it is firewalled. It needs to be done throught the web interface. I can generate a csv file and plug it into the word document, but it seems cumbersome to me. Is there any…
Luis
  • 5,979
  • 2
  • 31
  • 51
2
votes
1 answer

MS Word, Import Table with Query Condition Based on Merge Field

I'm creating a compliance mailing for my organization, the mailing will include merge fields that identify the office location, physician, and SiteId. The mailing will also include a table of information that is dependent upon the particular…
Craig
  • 45
  • 1
  • 7
2
votes
2 answers

MS Word mailmerge like functionality to allow export to Word document from ASP.Net Web application

I have requirement where I need to allow users to upload a Word document with place holders for certain fields which can be found in the database. This will be their template. For example the place holders might be prepended with @@ or something.…
uriDium
  • 13,110
  • 20
  • 78
  • 138