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.

Similar Messages

  • Mail merge and print one document at a time?

    Hi all. I'm an Apple revert. I'm currently using the i7 iMac. Previous Apple computer was a //e.
    I print an 8 or 12 page newsletter for my work. I want my printer/copier to fold and staple each document individually. Pages seems to send all documents to the printer in one huge file. How do I mail merge and print one document at a time?
    [In Windows Publisher, there's a registry hack to make Pub print one at a time. Anything similar on a Mac?]
    Mike

    Hello
    As you saw wrongly my first name I'm not too surprised that you missed the beast
    In fact it's not surprising that you missed it.
    I prepared the archive but forgot to upload it
    Download :
    For_iWork:iWork '09:découpe_PDFs.zip
    Yvan KOENIG (VALLAURIS, France) samedi 27 août 2011 11:29:37
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • 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

    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,

  • Forms 6i, open default mail client and add attachment to message

    Hi,
    I would like to use some functionality in my forms application. I want call some action, that opens default mail client in windows platform and add some attachment to message. I want to do this for my reports. I am exporting reports to PDF files. I am using oracle forms / reports 6.0.8.12.1 version. And I cant use build-in PDF export functionality, because exported PDF files are in old PDF version and I have problem with Czech charakters. So I am using my own virtual PDF printer for printing reports. A now I would like to send report as mail attachment. I know that there is this functionality in report preview. When I click button with letter image (showed on screenshot at http://img20.imagevenue.com/img.php?image=00067_screen_122_899lo.JPG) the default mail client is opened in this is created new messages with report (eps) in attachment.
    That is what i need. Only open default mail client and add own attachment to message.
    I found only one solution for Outlook, but I need open default mail client (for example Mozilla Thunderbird etc.)
    Can You help me? Or send some solution how it is solved in report previewer?
    Thank you.

    Hi,
    metalink Note 47498.1 "Programmatically Sending a Fax/Email via Microsoft Exchange" may be a good documentation for you. Have a look in there.
    regards,
    Heike

  • 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.

  • Mail merge and custom charts?

    I want to give report cards of sorts to students. I want the info on the report cards to be populated by info from a Numbers document. I can mail merge stuff like names alright, but what I really want is a chart that shows the overall class average and the student's individual performance on the same chart.
    This would be similar to the Numbers Grade Book template chart, with the huge exception being that I can mail merge and create documents for a bunch of students rather than having to fill out each student's name individually to change the charts like you have to do in Numbers.
    I tried to add mail merge info into a chart, but it didn't work. Any other solutions or ideas?

    I'll try and break things down more clearly.
    I have student data in Numbers, including Names, Student #s, Homework Scores, and Test Scores. I have all of this info in one Numbers table.
    I can setup a mail merge with that Numbers document and can population Name, Student #s, and Homework Scores fine.
    For Test Scores, I would like to have a graph that shows the class averages for Test Scores and Total Scores (Test Scores + Homework Scores).
    The graph would ideally be like the one in the Numbers Grade Book template, with a filled in section representing the class scores, and dots representing each student's individual scores.
    I want a way for this info to get filled in automatically. I could copy and paste a Numbers chart into the pages document in order to get the class averages, but that doesn't help me get each student's individual scores in. If I could do a mail merge with info from Numbers going into a chart created in Pages, that would be great, but that doesn't seem to work. I'm not given the option to insert new fields.
    I'm open to any kind of solution. Initially I thought that I might have to use applescript to create a new sheet for each student directly in Numbers, but no one in the Numbers forum gave me any insight about how to do that (and I'm dead useless at writing applescript). Someone did suggest doing a mail merge, though, so I ended up here.
    Does that clear everything up?

  • 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]

  • In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE!

    In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE! Thank god Pages 09 is still there.

    …and the other 98 missing features.
    Just use Pages '09, which should be in your Applications/iWork folder.
    Rate/review Pages 5 in the App Store.
    Peter

  • 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???????

  • I CAN'T OPEN MY MAILS, FB and photos app. thank you

    I am using an Ipad Mini, I can't open my Mails, Facebook and Photos appication?
    the last time I recharge it, when it was full recharge there is a message showing:
    Please check ur storage and 9 weeks no back up .
    what does it mean?
    thank you

    Try the following
    -restart the device
    -hold down on the power and home button together for 10 seconds
    -go to settings > general > usage, and determine if there is any free space on the ipad, if not you may need to delete content to create more space
    -if all else fails you may need to backup and restore the device
    http://support.apple.com/kb/ht1766

  • 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 2010 / Adobe PDFMaker Trial Mail Merge and ZWAdobeF, 1 PT Character

    Does anyone know why the Adobe Acrobat X PDMaker add-in for Word 2010 puts anin the front of the first merge field during a mail merge?  The merge works perfectly to create a .PDF, but I am a bit concerned that this will occur when we shell out some $$$ to use it to send 15,000 insurance cards to our student population.  The character is unprintable, and cannot be seen, but shifts the field over 1 pt everytime we merge.  If this happens 15,000 times our mail merge will not work.  Of course, the trial version of the software can only merge 1 record at a time.  Perhaps this is a not so sneaky way to stop trial users from actually using the software to send out 15,000 pieces for 'free'.  That would not be cool.

    Which version of Word 2010... 32bit or 64bit?
    Unless a recent update has fixed the problem(s) Acrobat is not fully compatible with Word 2010 64bit
    Acrobat X MS Office 2010 http://forums.adobe.com/thread/884628?tstart=0

  • 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

Maybe you are looking for