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:

617 questions
13
votes
11 answers

How to do mail merge on top of a PDF?

I often get a PDF from our designer (built in Adobe InDesign) which is supposed to be sent out to thousands of people. I've got the list with all the people, and it's easy doing a mail merge in OpenOffice.org. However, OpenOffice.org doesn't support…
Velmont
11
votes
3 answers

How do you mail merge a word document in c#

What I'm trying to achieve In my c# application I would like to generate a report (word document) from data in my application, I figured that the best way to do this would be to perform something like a mail merge using the data source from my…
Ryan Searle
  • 1,437
  • 1
  • 16
  • 29
10
votes
7 answers

Add Variable Hyperlink in Mail Merge in Word 2013

I'm trying to add a hyperlink to a mail merge field. So something like this: {HYPERLINK "{MERGEFIELD "Links" }"} So I create a field like this. { MERGEFIELD Links } And the above works (it displays different links for different…
01jayss
  • 1,290
  • 6
  • 18
  • 28
7
votes
3 answers

How dangerous is it to let users specify RazorEngine templates?

I have mail-merge like functionality, which takes a template, some business object, and produces html which is then made into PDF. I'm using RazorEngine to do the template+model to html bit. If I let the users specify the templates, what risks am I…
Greg
  • 2,113
  • 1
  • 17
  • 40
6
votes
1 answer

Mail merge with check box form field

I am looking for a way to set a checkbox field to checked via a mail merge. I would like to avoid using a macro if possible. The document I was provided has a check box form field with a bookmark named "SUBMIT". Is there a way to pass in data (CSV…
Steve Greene
  • 11,089
  • 1
  • 27
  • 45
5
votes
1 answer

Mail merge started by VBA in Access let Word open Database again

I'm working on a Access database which generates some mails with mail merge called from VBA code in the Access database. The problem is that if I open a new Word document and start the mail merge (VBA), Word opens the same Access database (which is…
Gregor
  • 1,653
  • 1
  • 20
  • 22
5
votes
2 answers

Mail Merge with Open Office from C# .NET

I need to be able to mail merge from an ASP.NET web form in C# .net to Open Office. I can connect with OpenOffice and open a file but that is where things stop at the moment. I have a table of mail merge items that need inserting into a document…
SB
5
votes
1 answer

Mail merge in ruby on rails, but in big numbers

I am trying to implement sort of mail merge for printed documents in Ruby on Rails 3.2. I have about 8000 recipients and template origin in Microsoft Word. Template includes images (photos) and contains about 10-20 pages. Actual situation is, that I…
4
votes
2 answers

Excel Mail Merge run time error 4198

There was a previous question on stackoverflow: "Is it possible to start MAIL MERGE from excel macro (by clicking a button on sheet) I have excel sheet with data and want to export it to new word doc." This was answered Sep 29 '09 at 12:39 by…
4
votes
1 answer

Delphi Word automation - print merged document

My D5 application can currently mail merge multiple members data to a Word document using: wrdapp := CreateOleObjct(word.application); wrdDoc := wrdApp.Document.Open(TemplateLocation); wrdMailMerge :=…
notidaho
  • 576
  • 8
  • 25
4
votes
2 answers

Word Mail Merge Fields

I have not worked with Mail Merge fields before and everything I find requires you to select a data source prior to be able to insert merge fields. All I want to do is place fields on the word document and not merge it down until its consumed by the…
Nic
  • 672
  • 3
  • 9
  • 24
4
votes
2 answers

Compile ASPX in WinForms App

I'm writing a WinForms application that sends email messages (like a mail merge). I'd like to use ASP.Net's rendering engine to render the HTML bodies of the messages. What's the simplest way to get the rendered output of a single ASPX page without…
SLaks
  • 800,742
  • 167
  • 1,811
  • 1,896
4
votes
1 answer

Mail Merge into word

The Best way to create labels is using existing industry standard tools , such as Microsoft word. How do you execute this and set up the shipping labels ? I am unsure how to map merge fields against data grid view columns. This is the code I have…
Mr Bagder
  • 131
  • 2
  • 2
  • 4
4
votes
2 answers

How to set the file name of a word document without saving it from c# and automation

I create word documents via automation and mailmerge with office Interop from c# (.net4). The merge works well and the user receives the created document as he desires. So far all is well. The client now requests, that if he tries to save the…
HCL
  • 34,231
  • 24
  • 150
  • 202
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
  • 24,147
  • 23
  • 84
  • 130
1
2 3
41 42