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
3
votes
1 answer

Document templates: JavaScript as replacement for Word?

We currently use Word for mail merge (labels) and personalized greeting cards (contact name in the text). Because our contact information is stored on a Web platform (SharePoint), I was thinking about replacing the Word templates with Web-based…
Christophe
  • 27,383
  • 28
  • 97
  • 140
3
votes
1 answer

word 2010 conditional blocks

I'm creating a word document using mailmerge in word 2010 and I've got a table I need to show depending on whether a certain mergefield has a value or not. I've found a way to hide/show a line of text, but how can I do this with entire blocks…
laureysruben
  • 158
  • 2
  • 11
3
votes
1 answer

Google Docs API for creating invoice containing table of variable number of rows

I have a template file for my invoice with a table with sample row, but I want to add more rows dynamically based on a given array size, and write the cell values from the array... Template's photo I've been struggling for almost 3 days now. Is…
Jishnu Raj
  • 170
  • 3
  • 16
3
votes
1 answer

Mail Merge using the Open XML SDK

I have a DataTable with 3 columns (a,b,c) and a docx file with the corresponding MailMerge fields set up. What I'd like to do is perform a Mail Merge on the document with the data. Presume that you can write to the hard disk (if you need to create a…
Charlotte Skardon
  • 6,220
  • 2
  • 31
  • 42
3
votes
1 answer

Insert dynamic date field in mail merge

This seems like a basic question but I can't seem to figure out how to do it. I want to insert a "date" field into my mail merged letter at the top. I can't find any field for date in Word 2007. I want this field to update automatically according to…
Jon Rubins
  • 4,323
  • 9
  • 32
  • 51
3
votes
0 answers

Word mail merge with Excel data

I've got a mail merge document set up in Word 2010. The data I'm using is Excel 2010. I've got some fields at the end of the data that have a lot of text in one cell (more than 255 characters). Data at the beginning of the file is coming through…
Mr_Thomas
  • 857
  • 3
  • 19
  • 39
3
votes
7 answers

MySQL Database to Adobe InDesign

Not really sure if this is the correct place to posting this, but thought someone here might have a little experience with this. We have a MySQL Database containing a number of products (well, 3,200 actually). For obvious reasons we don't want to…
BenM
  • 52,573
  • 26
  • 113
  • 168
3
votes
1 answer

Insert text if image doesn't exist Aspose Mail Merge

I'm working on inserting images and here is my code: void IFieldMergingCallback.ImageFieldMerging(ImageFieldMergingArgs e) { if (this.mBuilder == null) this.mBuilder = new DocumentBuilder(e.Document); string filename =…
A. Gladkiy
  • 3,134
  • 5
  • 38
  • 82
3
votes
0 answers

How to fill out a word template with python using MailMerge?

I have a word file with MergeFields key1,key2,key3..... I want to prefill this word document with values1, values2, values3.... at each MergeField respectively. If I write out the values explicitly like so, it works perfectly fine with…
3
votes
2 answers

Aspose Calling UpdateFields() on document loses mail merge field data

I am trying to export a Word document (link to a sample file which is not working as expected is given below) to PDF using Aspose. https://1drv.ms/w/s!AheHNqR6oXmSmd5H80L0vzCTfVVrTg The code for the same is as below. var doc=new…
Ananthan Unni
  • 1,304
  • 9
  • 23
3
votes
0 answers

MS Word 2016: Mailmerge field currency formatting issue

I am working on a Word document (Word 2016), which contains several mailmerge fields. One of those fields is a currency field. My data source is an Excel spreadsheet. In the Excel spreadsheet, the field is in currency format. I am using a Greek…
3
votes
0 answers

Mail Merge from Http Request use a restful API

In my project, I have a document in word and I need to use mail merge to fill the fields of the documents. My problem is that my database is online on my domain and I can´t access these records from Word. Can anyone help me?
Nuno
  • 61
  • 1
  • 10
3
votes
1 answer

Sending Google Doc as HTML in email body using Google Apps Script while preserving format

Using the script below on a Google Doc, I'm trying to send the document as HTML in an email body. It's converting the document correctly (when I check the exported document via the url) and sending the email with the same content, but it loses the…
ken
  • 41
  • 1
  • 4
3
votes
1 answer

LibreOffice crash when perform a Mail Merge in C#

I'm working on a C# application that performs a mail merge using LibreOffice. I can perform the mail merge and save the result as pdf but a crash occurs after calling xDesktop.terminate() and the crash reporting appears the next time LibreOffice is…
Simone
  • 31
  • 3
3
votes
2 answers

*|UNSUB|* does not get parsed in mandrill template

I am using *|UNSUB|* merge tag in the mandrill template, which I expect to automatically parse it when the mail is sent using this template (without doing anything in the code). My template code is,
KayKay
  • 553
  • 7
  • 22
1
2
3
47 48