MS-Word mail merge funcionality

I would like to have an editor with functionalities similar to MS-Word's mail merge. My website should be able to publish templates with dynamic data, from an external database. Can I have it with Muse or any other Adobe product ?

I have the same requirement...ms-word mail merge thru Java(before uploading to server..well that is what I think of doing).
1)Any success with this?
2)How did you do that in ASP? Any links you could suggest?
3)What did you use with the ASP setup to fax out(meaning the fax server)
Is it possible to create a word document with dynamic
contents (thru a template) using jsp or java.
Actually, I want to use mail merge facility to create
a Word Document to fax in jsp.
I know it is possible in asp/vb. But no idea,,, How
can it done in jsp???????

Similar Messages

  • Difficulty cross-referencing PDF created from MS Word Mail Merge

    Hello!
    I'm using MS Word Mail Merge to create PDF documents with Adobe Acrobat 9 (Merge to Adobe PDF ribbon). Adobe allows me to specify the file name to use, which Adobe uses for the first portion of the file name, but the remaining is up to Adobe and varies depending on the total number of documents.
    The help shows as: "The PDF will be named using this text plus a series of numbers. For example, if you type JulyLetter in the Specify PDF File Name box, the mail-merged PDFs might appear as JulyLetter_0000123, JulyLetter_0000124, July Letter_0000125, and so forth."
    If the numbering was sequential, there wouldn't be a problem. However, if the number of records exceeds 50 documents, the convention changes at intervals of 50 and it makes it difficult to cross-reference without opening the document.
    As an example, if there are a total of 67 documents, you get the following results:
    Record 15 is named JulyLetter_15015.pdf. (meaning range 1-50, record 15)
    Record 20 is named JulyLetter_15020.pdf (meaning range 1-50, record 20)
    Record 56 is named JulyLetter_51676.pdf (meaning range 51-67, record 6)
    Record 66 is named JulyLetter_516716.pdf (meaning range 51-67, record 16)
    The breaks are at intervals of 50 records, meaning that if there were 230 records to print, record 143 would be JulyLetter_10115043.pdf, record 180 would be JulyLetter_15120030.pdf.
    Does anyone know where the naming or breaks are controlled within Adobe to just keep it sequential or if there is possibly a cross reference file created that may assist with cataloging?
    Thanks

    In each of the successive versions of Acrobat to the version you have, improvements have been made in converting a PDF to Word format. Acrobat X and the version about to come out, Acrobat XI, do the best job. I can't guarantee that the results would be an improvement in your case, but I have a hunch they would.

  • Word Mail Merge does not accurately import a Text field in Excel with more than 15 numbers

    Hi, I've looked through some of the discussions regarding importing numbers from excel into word mail merge. I'm having a problem. In Excel I have a column that includes numbers with more than 15 digits. In Excel, I have made this column a text format, so
    now in Excel those long numbers show up correctly. However, when doing a mail merge in Word, again the numbers past 14 digits change to zeros. I've read many help articles about this but am still not finding a solution. I even tried going the DDE route and
    that didn't do it either. I checked out this answer: http://www.techsupportforum.com/forums/f57/mail-merge-data-corruption-429351.html which was the most helpful, but again, DDE seemed to work for this person but not for me. I hope someone can offer a solution.
    I was hoping that I could do a picture switch, but that does not seem to be an option for this particular problem. I don't know why importing it in DDE format did not solve the problem. Thanks for any help!

    Wow! After all my searching and just after posting this I figured out the solution! I originally had { MERGEFIELD Field_Name \# # } But then I just removed everything after the field name, as is normal for any other text field, so not indicating it was
    a number, and now it shows up correctly even if the number (from a Text formatted field in Excel) is longer than 15 digits. Hope this helps anyone else who has a problem. I did not use DDE to solve this problem.

  • Word Mail Merge

    I am using the following code to mail merge data in a table into a Word document:
    call function 'MS_WORD_OLE_FORMLETTER'
          exporting
            WORD_DOCUMENT             = FILEFORM
            HIDDEN                    = 0
            WORD_PASSWORD             =
            PASSWORD_OPTION           = 1
            FILE_NAME                 = FILEDATA
            NEW_DOCUMENT              =
            DOWNLOAD_PATH             = FILEPATH
           PRINT                     = PFPRINT
          tables
            DATA_TAB                  = FDATA
            FIELDNAMES                = FIELDS
         exceptions
           INVALID_FIELDNAMES        = 1
           USER_CANCELLED            = 2
           DOWNLOAD_PROBLEM          = 3
           COMMUNICATION_ERROR       = 4
           others                    = 5.
    Fdata has both text and numeric data in fileds F1, F2, F3,...Fn
    FIELDS has one field containing rows with text data corresponding to the field names of Fdata i.e F1, F2, F3,...Fn.
    My program does not open my word mail merge template, FILEDATA, automatically to fill it with contents of Fdata. Instead a new document is opened with the message "Insert the mail merge fields" and a pop up window asking which filed and record delimeters to use. Where am I going wwrong?

    I will rephrase my question:
    How does the function module 'MS_WORD_OLE_FORMLETTER' work?
    My understnading is that:
    1. WORD_DOCUMENT  is the document that contains the merge fields which will be filled with data. It is the final document that will appear after the function has been executed.
    2. File_Name is the file (can be word document) that will be used as the data source by word_document.
    3. DOWNLOAD_PATH is were File_name is located.
    4. DATA_TAB  contains the merge data. Its contents will be written onto File_name.
    5. FIELDNAMES is he internal table containing the field names that correspond to the fields on WORD_DOCUMENT. It also writes its contants to File_Name.
    Since the data source of a mail merge document should have delimited fields, how do I go about this in the File_Name?
    Regards,

  • Looping in Word mail merges/ checking for missing fields

    I am trying to convert a project that uses WordPerfect merges to use Word mail merges.  One issue that I am encountering is that I cannot find a way to use any looping structures in Word mail merges. Specifically, my data file is a csv text file. 
    I control the contents of the file but its current structure is that it will consist of a single record (not counting the header row).  The number of fields will vary but it will contain a field named Person1.  There may or may not be a field named
    Person2, Person3 etc.  There are several of these types of fields in the record so it is not an option to make a separate record for each person ie for the record I will have Plaintiff1, Plaintiff2... and Defendant1, Defendant2....
    I am having trouble with two things:
    1. how can I test for a blank or missing field ie I want to have a statement like {if {MERGEFIELD Defendant2}="" "Defendant is" "Defendants are"}.  That statement works but it throws error messages to the user that the
    field Defendant2 is missing and prompts them to substitute another field.  That sort of statement occurs multiple times during a merge so asking the users to ignore the errors is not an option.
    2. is there some sort of looping mechanism in Word mail merges.  I need to be able to do two things with a loop:
    a.  I need to be able to list each of the Persons, Defendants, Plaintiffs ie. While {MERGEFIELD Defendant{#}<> "" " {MergeFIELD Defendant{#}" (increment variable # by 1).
    b.  I some circumstances I need to create full documents based on a loop i.e.  While {MERGEFIELD Defendant{#}<> "" <<merge a defendant summons here>>(increment variable # by 1)

    For clarification: In a Word mailmerge, if any of the field headers are missing from the data source, you will get an error. Thus, you can't have a mailmerge main document that references «Plaintiff2» or «Defendant2» and not have the corresponding headers
    in the data source. The fields may be empty, but the headers must exist.
    Re 1:
    You can indeed use an IF test along the lines of:
    {IF«Defendant2»= "" "Defendant is" "Defendants are"}
    or:
    {IF{MERGEFIELD Defendant2}= "" "Defendant is" "Defendants are"}
    Re 2a:
    Creating a list is as simple as inserting the mergefields one after the other:
    «Defendant1»
    «Defendant2»
    «Defendant3»
    This will, of course, result in empty lines when fields have no data. To cater for this, Word provides the mergefield \b and \f switches.Given you can have one or more defendants, you could suppress the extra lines via, say, an \b switch:
    1. select the
    «Defendant2» field and press Shift-F9 so that you get {MERGEFIELD Defendant2};
    2. edit the field code so that you get {MERGEFIELD Defendant2 \b "¶
    3. delete the paragraph break or line break after the field, so you get:
    «Defendant1»
    {MERGEFIELD Defendant2 \b "¶
    "}«Defendant3»
    where ¶ is a real paragraph/line break
    4. Do the same for the «Defendant3» field and so on, till all are done.
    The following construction can be used to manage data where one or more related fields («Defendant2», «Defendant3», «Defendant4», «Defendant5», & «Defendant6») may or may not be populated, so you can get commas before all except the last in a multi-defendant
    sequence, which is preceded by 'and'.
    «Defendant1»{IF«Defendant3»= "" " and «Defendant2»" ", «Defendant2»{IF«Defendant4»= "" " and «Defendant3»" ", «Defendant3»{IF«Defendant5»= "" " and «Defendant4»" ", «Defendant4»{IF«Defendant6»= "" " and «Defendant5»" ", «Defendant5» and «Defendant6»"}"}"}"}
    Note: It is assumed that none of the fields after the first empty one will be populated.
    Re 2b:
    It's not clear what you're after here. However, in addition to using an IF field as per 1, above, they can also be used to conditionally output multiple pages, including text, tables and images, together with additional mergefeilds on those pages. For example:
    {IF«Defendant2»= "" "«Defendant2» is a nasty fellow ... plus the rest of defendant 2's content & mergefields"}
    Note: The field brace pairs (i.e. '{ }') for the above examples are created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via
    any of the standard Word dialogues. Likewise, you can't type or copy & paste the chevrons (i.e. '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar. The spaces represented in the field construction are all required.
    Instead of the ¶, you should use real line/paragraph breaks.
    For more Word mailmerge tips, see:
    http://www.msofficeforums.com/mail-merge/21803-mailmerge-tips-tricks.html . That page also includes a macro for turning the above field representations into working field codes.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • I get an error trying to use Apple Address Book with Word Mail merge - says it cannot open data file?

    I am running MS Word 2011, latest Mac OS, and trying to use the Mail Merge option with the Apple Address Book as the data source.
    However whenever I select the Apple Address Book as the data source, I get the error "Word was unable to open the data source".
    Anybody got any idea why?
    Thanks for your help

    I am guessing you could have solved this little problem already but perhaps someone else may benefit:
    I struggled with the same problem - not being able to use Mac Address Book (i.e. Contacts) with Word 2013 for mac mail-merge (on Mountain Lion and, now, on Mavericks) - with the exact same error message reported by Klausngigtoas above .
    So I read lots of techie stuff on forums which passed a nice few hours but didn't help. Finally, with slumped, defeated expression, I gave up.
    But I just now (such is life) I accidentally stumbled upon the simple solution:
    1. Enter System Preferences and click Security & Privacy.
    2. Select the Privacy tab and then on Contacts on the left hand panel.
    3. In the right hand panel ("Allow the apps below to access your contacts") just tick the Contacts box.
    4. And Voilà! - at least it worked for me - hope it does for you.

  • Word Mail Merge using Powershell

    Hi all,
    I'm working on a script that automates account creation and notification for our students. I've completed a significant chunk of the script and have it successfully creating AD accounts and e-mailing students their credentials to access our system from
    a batch job that runs nightly. I want to add an additional part that will create a document using a Microsoft word template that is associated with a CSV file that the script will be populating each day it runs. The goal is to create a mail merged PDF that
    I can give to our admissions folks that has all the pertinent information for students to login. They will put these documents in their admissions packets or hand them to new students so they can login to the student system. I think I'm almost there as
    I can get word to create a PDF of the template. The only problem is I have no idea how to get it to execute the mail merge so that the pdf contains the actual data I need it to. Currently all I end up with is an export of the template itself in PDF
    format.
    I'm sure the problem with this is that I'm having trouble calling the .net functions for Word via powershell. Online I see various documents on how to do this with vb.net however Powershell instructions seem to not exist. I'm sure the actions are quite similar
    but I need some help. Here is the section of the code I have currently:
    $filename = "EmailTemplate1.dotx"
    $filename2 = "EmailTemplateProc.pdf"
    $word=new-object -com Word.Application
    $doc=$word.Documents.Add($filename)
    $word.Visible=$False
    $word.ActiveDocument.Fields.Update()
    $doc.WdMailMergeDestination.wdSendToNewDocument
    $word.ActiveDocument
    $Doc.saveas([ref] $filename2, [ref] 17)
    $Doc.close()
    $word.Quit()
    I'm sure the problem lies somewhere at the $doc.WdMailMergeDestination and onward. Basically I want it to take the dotx file which already has the templated document with mail merged fields and save an executed mail merge as a PDF. Any insight
    would be great.
    Thanks in advance!

    Not quite sure about that command line thing. I looked all through the support doc you posted and see nothing mentioning executing a mail merge via the command line. Is there something else i'm missing here? Can it be done with a macro?
    Like I posted.  As how to do a mail merge in the Word forum.  You can run a macro from the command line or you can trigger the merge from a startup macro.   The macros will reside in a template which will be specified on the command line
    alone with the new document name and location.
    You can create the macro in a minute with the macro recorder.
    ¯\_(ツ)_/¯

  • Word Mail Merge Macro

    Greetings,
    I have generated the below macro and running it. It's basically a mail merge macro which reads from a fixed file position and emails the document upon prompting the user. It works perfectly except for one small, critical issue. If one of the recipients is
    deselected, I get a run time error 5853 Invalid parameter and the below line is highlighted.
    ActiveDocument.MailMerge.DataSource.ActiveRecord = wdNextRecord
    The full code block can be found below. Any help is appreciated alot.
    Sub MailMergeMacro()
    Dim Choice As Integer
    Response = MsgBox(prompt:="Select 'Yes' or 'No'.", Buttons:=vbYesNo)
    If Response = vbYes Then
    Application.Dialogs(wdDialogMailMergeRecipients).Show
    ActiveDocument.Fields.Add Range:=Selection.Range, Type:= _
    wdFieldAddressBlock, Text:= _
    "\f ""<<_TITLE0_ >><<_FIRST0_>><< _LAST0_>><< _SUFFIX0_>>" & Chr(13) & "<<_COMPANY_" & Chr(13) & ">><<_STREET1_" & Chr(13) & ">><<_STREET2_" & Chr(13) & ">><<_CITY_" & Chr(13) & ">><<_STATE_" & Chr(13) & ">><<_POSTAL_>><<" & Chr(13) & "_COUNTRY_>>"" \l 2057 \c 2 \e ""Un"
    Selection.TypeParagraph
    Selection.TypeParagraph
    ActiveDocument.Fields.Add Range:=Selection.Range, Type:= _
    wdFieldGreetingLine, Text:= _
    "\f ""<<_BEFORE_ Dear >><<_TITLE0_>><< _LAST0_>>" & Chr(10) & "<<_AFTER_ ,>>"" \l 2057 \e ""Dear Sir or Madam,"""
    Selection.TypeParagraph
    ActiveDocument.MailMerge.DataSource.ActiveRecord = wdNextRecord
    With ActiveDocument.MailMerge
    .Destination = wdSendToEmail
    .SuppressBlankLines = True
    With .DataSource
    .FirstRecord = wdDefaultFirstRecord
    .LastRecord = wdDefaultLastRecord
    End With
    .Execute Pause:=False
    End With
    MsgBox "The document has been mailed"
    Else
    MsgBox "The document has not been mailed"
    End If
    End Sub
    Thanks again, Regards

    Hi,
    Since you need help with Macro, I suggest you post the question in Word for Developers forum to get further assistance:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Open Word mail merge and print

    Hi!
    Any help on this would be much appreciated!
    I fear i may be asking too much but is there anyway using powershell to open a particular word document that is linked to an excel document for a mail merge, and automatically print the last record?
    Thanks!

    Hey,
    I'm relatively new to powershell and the great things it can do. But I used Google to see what would come up as a result. I found
    this and
    this which could be a great start for you.
    If I had the time I would test this out myself and post back some findings as this looks like quite the interesting request.
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • Create PDFs from Word mail merges

    This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/X/pro/using/WSA2131EF1-0620-46e0-9A0C-74F28724D97E.w.h tml

    I've been trying this for many hours and have posted my issue elsewhere on the site without success. When I use the Mail Merge in Word 2007 I get an error message of "MAPI Logon Unsuccessful cannot email mesages". I'm using MSMail, Vista SP2 and Acrobat X Pro. The documents are created and filed where I select but it stops at the email process. If I just do one record at a time using "Create and Attach to Email" MSMail opens correctly with the document attached. I had the problem when I needed to send a similar letter a year ago but had assumed that was because I had Acrobat IX. Not so. The amount of time I've spent trying to get it to work is probably more than if I had manually attached each letter to an email but I hate not being able to use a feature I've paid for! Can anyone help with this?

  • MS Word mail merge - trouble with sign in

    I´ve donwload the tool from Metalink. I can open the word template and I can see the buttons... When clicking on Get On Demand Data > Contacts... I am asked to Sign In.
    I tried several forms of sign in... using the same for as I do sign in in OD... using the email... but up to now all of them are unsucessfull.
    Pls. Any hints on how to do the sign in from Mail Merge ?
    Antonio

    Antonio, right click on the document and then click on Properties and then click on the Custom tab and make sure the OnDemandServer is set correctly -- secure-ausomxaya.crmondemand.com -- In this case the pod is aya.
    Edited by: bobb on Jun 2, 2009 1:13 PM

  • Repeating Word Mail-Merge

    I have an entity called Tenant.
    In the Tenant entity there is a form with fields such as Tenant Name, Tenant Address.
    I record the Name and Address of the Tenants in the appropriate fields.
    I want to do a mail merge based on the Tenant entity that when it is ran a separate document containing the Tenant Name and Tenant Address is produced for each separate record in the Tenant entity.
    Anyone know how I could do this?

    check these:-
    http://www.microsoft.com/en-us/dynamics/crm-customer-center/work-with-mail-merge-templates.aspx
    http://www.magnetismsolutions.com/blog/colinmaitland/2013/12/16/microsoft-dynamics-crm-2013-mail-merge
    Regards Faisal

  • Word Mail Merge with Parameters

    Hi.
    I have created a query using MS Query that accesses an Oracle DB and uses parameters.
    I saved the query and want to access it from MS Word, but when i try open it in Word it will let me enter a parameter and then i get the following error
    Open Database Connectivity Error
    Specified driver could not be loaded due to system error 127 (Oracle in instantclient)
    It works fine if i don't have parameters.
    Any ideas??
    Thanks
    Ben.

    Hi;
    If those report produced by CM than please check:
    Concurrent Request Output-
    Re: concurrent ouput to email
    Regard
    Helios

  • Word document/mail merge with values from Reports

    Hi All gurus
    Using apex 4.1.1 , linux , 11gr2
    Basically I have requirement to generate a Word doc (letter to a Word mail merge) from a button/navigation link pressed on Apex page which will gather data from the report and fill in values in appropriate place in Word doc.
    Is this even possible with Apex with/o BI Publisher
    I have Fop installed and tested , PDF works great but excel and RTF is not reading the encoding on attachment download.
    Any help gratefully appreciated as always !
    PS I am aware of new PDF feature in 4.2.2 but upgrade is just not the scope right now.
    Thanks

    Hi, Tony:
    I am working with Hunk09 on this problem. I checked the demos of this PL/SQL lib, it looks powerful, yet we need a short time solution considering our schedule, as our request is just to insert some values into a static RTF document so user can print letters in batch by clicking link and downloading RTF file. I noticed our legacy system is using owa_util.mime_header following with htp.p to produce file, does APEx support this still? Also you have any hint about providing download link in APEX?
    Thanks.
    Sam
    Edited by: lxiscas on May 8, 2013 2:59 PM

  • Access 2013 crashes after mail merge in Word 2013

    We have several Word templates that query an Access database to populate themselves. After the mail merge is complete, when we close Word then Access immediately crashes every time. This started after upgrading from Office 2003 to 2013. We tried updating
    the Word Doc to 2013 but then it would not connect to the data source at all. Last, we also tried to Compact and Repair the database with no luck.
    We searched for an Access Hot Fix but could not find anything that matches our issue. Any assistance would be greatly appreciated.

    Use a table or query as the data source
    Open the source database, and in the Navigation Pane, select the table or query that you want use as the mail merge data source.
    On the External Data tab, in the Export group, click
    More , and then click Merge it with Microsoft Office Word .
    The Microsoft Word Mail Merge Wizard starts.
    Select whether you want to create the link in an existing document or in a new document, and then click
    OK.
    If you chose to link to an existing document, in the Select Microsoft Word Document dialog box, locate and select the file, and then click
    Open.
    Word starts. Depending on your choice, Word opens either the document you specified or a new document.
    In the Mail Merge pane, under Select document type, click
    Letters and then click Next: Starting document to continue to step 2.
    In step 2, click Next: Select recipients.
    In step 3, you create the link between the data source in Access and the Word document. Because you started the wizard from Access, this link is created automatically. Under
    Select recipients, note that Use an existing list is selected, and the name of your data source is displayed under
    Use an existing list.
    Click Edit recipient list if you want to customize the contents of the table or query.
    You can filter, sort, and validate the data. Click OK to continue.
    Click Next: Write your letter to continue. Follow the remaining instructions in the
    Mail Merge pane, and in step 5, click Next: Complete the merge.
    Other ways to use a table or query as the data source
    You can specify a table or query as a data source in additional ways. For example, you can export the table or query from Access to an ODBC database, a Microsoft Office Excel 2013 file, a text file, or any other file format that is compatible with Word,
    and then link to the resulting file by using the Word Mail Merge Wizard.
    If you have not already exported the table or query , do so. In Access, in the Navigation Pane, select the table or query that you want to use, and on the
    External Data tab, in the Export group, click the format you want to export to, and then follow the instructions.
    In Word, if the Mail Merge pane is not displayed, on the
    Mailings tab, in the Start Mail Merge group, click the arrow under
    Start Mail Merge, and then click Step by Step Mail Merge Wizard. The
    Mail Merge pane appears.
    In step 3 of the Mail Merge pane, under Use an existing list, click
    Browse or Edit recipient list.
    In the Select Data Source dialog box, specify the data file that you created in Access, and then click
    Open.
    Follow the instructions in any dialog boxes that follow. In the Mail Merge Recipients dialog box, review and customize the contents of the file. You can filter, sort, and validate the contents before you continue.
    Click OK, and then click Next: Write your letter in the
    Mail Merge pane. For more instructions on customizing your mail merge, see Word Help.

Maybe you are looking for

  • Notification Forward  issue from UWL

    Hi All, My requirement is to Forward Notification from the UWL which comes through R/3 I am using EP version: EP 7.01 Under notification tab after I click on the notification link a new pop-up screen is opened up. In the pop screen text area ,there i

  • Expand Service Request without drilldown

    Hi Everyone I am working On Siebel Open UI I have a Service Request Screen With all the details displaying on Drill down . Now I need it when I click on the SR it should display all the details below in the same page without navigating to any other s

  • Would like to use Quicktime to open Realplayer .rm files.

    I was curious if anybody knew of a Plug-in that would allow Realplayer .rm files to be played on Quicktime. I'd rather not use Realplayer if don't have to. Another option would be if anybody knows of a converter similar to Flip-4-Mac that would allow

  • Re-started my computer

    This weekend I was at my friends and I got home and my mom had wiped my harddrive and completly restarted my computer. I reinstalled itunes but I can't get any of my old songs onto the itunes. The songs are still on my ipod and it shows that I have p

  • Can you more reasonably recover a Time Machine backup bundle?

    I have a 5th gen (most recent) AirPort Extreme and a 3 TB hard disk connected to it. I've got two Macbook Airs using it as a Time Machine volume. Today, something odd happened that broke the whole configuration. Somehow, one of the time machine volum