Mail merge indian system 12,34,56,789 format not shown

I am using Mail merge Word to Excel
Numeric value has been typed in excel sheet as 123456789, I want it as 12,34,56,789 (Indian currency format) while displaying
I want to display the number in the Word Mail Merge file as 12,34,56,789 (Indian currency format) and also if possible in words i.e. Twelve Crores Thirty Four Lakhs Fifty Six thousand Seven Hundred and Eighty Nine only

For the mergefield number format, you could add a numeric picture switch to the field. To do this:
• select the field;
• press Shift-F9 to reveal the field coding. It should look something like {MERGEFIELD MyData};
• edit the field so that you get {MERGEFIELD MyData \# 00','00','00','000};
• position the cursor anywhere in this field and press F9 to update it;
• run your mailmerge.
Note: If you need to handle numbers that have only the 34,56,789 or the 56,789 or even just 789, you'll need to test the underlying values via an IF field and output the results with a different switch for each case.
Cheers
Paul Edstein
[MS MVP - Word]

Similar Messages

  • Discovery System HUJ - Created Purchase Order is not shown...

    Hello,
    after log on to HUJ, I started the process procurment -> Approve Purchase Requisition and Create Purchase Order. I could read the material and create the Purchase Requisition, but after that, it is not shown. After 60s I get an time out instead...-
    How can that be healed?
    Peter

    customizing problem.
    or
    field mapping not correct.

  • When I tried to Mail Merge for Data is is not exporting any data.

    HI,
    EBS-12.1.3
    DB-11gR1
    OS - RHEL 5.6
    [With my Login User and SysAdmin Login User] When I enter into to the "People -> Enter and Maintain" Form and then I press the "Export Button", there is error Alert
    Function is not available to this responsibility. Change Responsibilities or Connect to the System Administrator
    I Added the Function "HR ADI Seeded Integrator Form Functions" into the "AE HRMS Manager" Responsiblity. It is also working and Export Data icon is enable.
    Problem:
    But Problem is when I tried to Mail Merge for Data is is not exporting any data.
    ====================================================================
    Steps
    1.Move to the "People -> Recruirment" and then "Request Recruitment Letter" .
    2. Enter the New Request. as
    Letter Name "App. Letter Contract Site",
    Automatic or Manual = Manual.
    Select the Name from the LOVs for the Request for Detail Block.
    3. Press the "Export Data" icon.
    4. Integrator Page Appear with my Custom Integrator Name as "Appointment Letter - Contact Site".
    5. Select the "Word 2003" from the View List. and Reporting is Checked.
    6. Review the Folowing Enteries as:
    Integrator Appointment Letter - Contact Site
    Viewer Word 2003
    Reporting Yes
    Layout App. Letter Contract Site
    Content XXHR_MBE_APP_LET_CONT_SITE_V
    Session Date 2011/08/02
    Mapping XXHR_MBE_APP_LET_CONT_SITE_V Mapping
    7. Press "Create Document" Button.
    8. It will open the Excel 2003 and then Word 2003. But no data down download from the Form.
    9. It open the Mail Merge Letter but no Data is Display.
    ===========================================================
    Note:
    a. I am following the Steps from the Link:"http://apps2fusion.com/at/38-ss/351-generate-recruitment-letters-web-adi".
    b. From the "Desktop Integrator Manager", "Oracle Web ADI", "HRMS Web ADI", it is working fine and Dowload the Data.
    ===========================================================
    Thanks
    Vishwa

    Please try the solution in ("Function not available to this responsibility" Error While Cliclking On Forms Personalisation [ID 1263970.1]) and see if it helps.
    Thanks,
    Hussein

  • When I mail merge a message that incudes a table with an excel spreadsheet, the table disappears and the data appears in list form

    I've tried both creating the table using Thunderbird, as well as creating the table in Word first and the problem is the same. I've reinstalled and updated both the mail merge add on and Thunderbird.

    If you do not need all the excel specific items you can just write it to a spreadsheet using the write to spreadsheet file vi's.
    If you want to go the excel route you will have to use active x. you can see a lot of examples on the excel board under the breakpoint forum. please post a sample of how you want your data to look and I can maybe help explain what options you have. and also oyu do not necesarily need the report generation toolkit.
    Joe.
    "NOTHING IS EVER EASY"

  • 6i Forms Word 2003 Mail Merge

    We have mail merge working from 6i forms with Word 97. We are going to Word 2003, but I am having trouble getting the mail merge to work. The example on Metalink, note 297410.1, seems to be directed at data files in row format. Our data file is in table format. Below is part of our current working code. When it is run in 2003, the merge is not performed. I do not receive any errors. Any suggestions or examples would be greatly appreciated. Thank you.
    PROCEDURE create_AL01 IS
    word_handle ole2.obj_type;
    docs ole2.obj_type;
    doc ole2.obj_type;
    tables ole2.obj_type;
    range ole2.obj_type;
    sel ole2.obj_type;
    NewMailMerge ole2.obj_type;
    arglist ole2.list_type;
    i number;
    <cursor definition>
    BEGIN
    <count of letters for loop>
    word_handle := ole2.create_obj('word.application');
    ole2.set_property(word_handle,'Visible',1);
    docs := ole2.Get_Obj_Property(word_handle,'Documents');
    ole2.invoke(docs,'Add');
    sel := ole2.get_obj_property(word_handle,'Selection');
    range := ole2.get_obj_property(sel,'Range');
    doc := ole2.get_obj_property(word_handle,'ActiveDocument');
    tables := ole2.get_obj_property(doc,'Tables');
    arglist :=ole2.create_arglist;
    ole2.add_arg_obj(arglist,range);
    ole2.add_arg(arglist,i);
    ole2.add_arg(arglist,7);
    ole2.invoke(tables,'Add',arglist);
    ole2.destroy_arglist(arglist);
    FOR AL01_rec in AL01_cur LOOP
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.sys_date);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.name);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.mail_address);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.mail_cityst);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.salute);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.test_date);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    ole2.invoke(sel,'MoveRight');
    ole2.invoke(sel,'MoveRight');
    end loop;
    arglist := ole2.create_arglist;
    ole2.add_arg(arglist, 'C:\PROGRAMS\AL01SF.DOC');
    ole2.invoke(doc, 'SaveAs', arglist);
    ole2.destroy_arglist(arglist);
    arglist := ole2.create_arglist;
    ole2.add_arg(arglist, 'C:\PROGRAMS\AL01PRI.DOC');
    ole2.invoke(docs, 'Open', arglist);
    ole2.destroy_arglist(arglist);
    doc := ole2.get_obj_property(word_handle,'ActiveDocument');
    arglist:=OLE2.CREATE_ARGLIST;
    OLE2.INVOKE(doc, 'Activate', arglist);
    OLE2.DESTROY_ARGLIST(arglist);
    NewMailMerge :=OLE2.GET_OBJ_PROPERTY(doc, 'MailMerge');
    arglist:=OLE2.CREATE_ARGLIST;
    OLE2.INVOKE(NewMailMerge, 'Execute',arglist);
    OLE2.DESTROY_ARGLIST(arglist);
    doc := ole2.get_obj_property(word_handle,'ActiveDocument');
    arglist := ole2.create_arglist;
    ole2.add_arg(arglist, 'C:\PROGRAMS\AL01MF.DOC');
    ole2.invoke(doc, 'SaveAs', arglist);
    ole2.destroy_arglist(arglist);
    arglist := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(arglist,0);
    OLE2.Invoke(doc, 'PrintOut', arglist);
    OLE2.Destroy_Arglist(arglist);
    OLE2.INVOKE(docs,'Close');
    OLE2.INVOKE(word_handle,'QUIT');
    END;

    We have mail merge working from 6i forms with Word 97. We are going to Word 2003, but I am having trouble getting the mail merge to work. The example on Metalink, note 297410.1, seems to be directed at data files in row format. Our data file is in table format. Below is part of our current working code. When it is run in 2003, the merge is not performed. I do not receive any errors. Any suggestions or examples would be greatly appreciated. Thank you.
    PROCEDURE create_AL01 IS
    word_handle ole2.obj_type;
    docs ole2.obj_type;
    doc ole2.obj_type;
    tables ole2.obj_type;
    range ole2.obj_type;
    sel ole2.obj_type;
    NewMailMerge ole2.obj_type;
    arglist ole2.list_type;
    i number;
    <cursor definition>
    BEGIN
    <count of letters for loop>
    word_handle := ole2.create_obj('word.application');
    ole2.set_property(word_handle,'Visible',1);
    docs := ole2.Get_Obj_Property(word_handle,'Documents');
    ole2.invoke(docs,'Add');
    sel := ole2.get_obj_property(word_handle,'Selection');
    range := ole2.get_obj_property(sel,'Range');
    doc := ole2.get_obj_property(word_handle,'ActiveDocument');
    tables := ole2.get_obj_property(doc,'Tables');
    arglist :=ole2.create_arglist;
    ole2.add_arg_obj(arglist,range);
    ole2.add_arg(arglist,i);
    ole2.add_arg(arglist,7);
    ole2.invoke(tables,'Add',arglist);
    ole2.destroy_arglist(arglist);
    FOR AL01_rec in AL01_cur LOOP
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.sys_date);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.name);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.mail_address);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.mail_cityst);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.salute);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    arglist :=ole2.create_arglist;
    ole2.add_arg(arglist, AL01_rec.test_date);
    ole2.invoke(sel, 'TypeText', arglist);
    ole2.destroy_arglist(arglist);
    ole2.invoke(sel,'MoveRight');
    ole2.invoke(sel,'MoveRight');
    ole2.invoke(sel,'MoveRight');
    end loop;
    arglist := ole2.create_arglist;
    ole2.add_arg(arglist, 'C:\PROGRAMS\AL01SF.DOC');
    ole2.invoke(doc, 'SaveAs', arglist);
    ole2.destroy_arglist(arglist);
    arglist := ole2.create_arglist;
    ole2.add_arg(arglist, 'C:\PROGRAMS\AL01PRI.DOC');
    ole2.invoke(docs, 'Open', arglist);
    ole2.destroy_arglist(arglist);
    doc := ole2.get_obj_property(word_handle,'ActiveDocument');
    arglist:=OLE2.CREATE_ARGLIST;
    OLE2.INVOKE(doc, 'Activate', arglist);
    OLE2.DESTROY_ARGLIST(arglist);
    NewMailMerge :=OLE2.GET_OBJ_PROPERTY(doc, 'MailMerge');
    arglist:=OLE2.CREATE_ARGLIST;
    OLE2.INVOKE(NewMailMerge, 'Execute',arglist);
    OLE2.DESTROY_ARGLIST(arglist);
    doc := ole2.get_obj_property(word_handle,'ActiveDocument');
    arglist := ole2.create_arglist;
    ole2.add_arg(arglist, 'C:\PROGRAMS\AL01MF.DOC');
    ole2.invoke(doc, 'SaveAs', arglist);
    ole2.destroy_arglist(arglist);
    arglist := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(arglist,0);
    OLE2.Invoke(doc, 'PrintOut', arglist);
    OLE2.Destroy_Arglist(arglist);
    OLE2.INVOKE(docs,'Close');
    OLE2.INVOKE(word_handle,'QUIT');
    END;

  • HT3952 Mail Merge - Pages 5?

    Hello all,
    Maybe I'm just not seeing the right function, but I can't find mail merge anywhere. I have about 50 envelopes that I send out nearly every holiday, and with this latest update of Pages mail merge seems to have dissapeared. I'm not really sure what I'm suposed to do now besides automatically format each one, which sounds about as fun as giving a cat a bath. Please let me know if I'm just an idiot (which is actually totally plausible, I could just not be reading right), or if it's Apple. Thanks so very much!
    Mandi

    This discussion seems to indicate the function is gone, There are a few suggestions for other ways to do it.
    https://discussions.apple.com/message/23501744#23501744

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

  • Is there a way to Automate or Script the Mail Merge Feature in iWorks?

    Hello,
    I've been trying to build a production management system slowly over the last few months, my boss is a bit of a technophobe so I've been trying as hard as i can to keep everything in familiar programs, at its core all the system has to do its take information in from Purchase Orders, this is added to a Numbers File, within that numbers file are our Open Order Book showing All orders and 2 "Merge Sheets" all new Orders are Added to the Merge Sheets then onto the Open Order Sheet, those "merge sheets" are then used as a data source for a Pages file "Job Card" (we have 2 job card files once blue one yellow but the process is the same)
    Up until now I've been manually merging each time we get a new order, but this happens a lot so what I've been trying to do is Automate the procedure.
    Ive created 2 Automator Apps  each runs the same sequence just for the two different Job cards as follows:
    Get finder Item "Job_Card_Blue/Yellow" > Open Finder Item > a "watch me do" of mail merge > Print > Close Application without saving
    The Problem is the Watch me do is a bit of a clunky work around, if I could make it work without the mouse moving over the screen it wouldn't be so bad, even if I could somehow give Mail Merge a Keyboard Short Cut it would also be better.
    So my questions, after a large ammount of waffling:
    1) is there a way i can "see" and then edit the "watch me do" Script?
    2) is there a simpler work around im not seeing?
    3) is there an existing script of program I can use? (obviously i know there is Filemaker etc, if it was up to me I'd use a Database, but the owner of company is adimant i use office or easy programs, becuase it needs to be a system i can leave to him once my contract is up)
    Any Help or suggestions would be greatly appreciated!

    Yes I've created an Automator Application that does the job, but the "watch me do" function that does the Mail Merge is a rather Clunkey work around, as the mouse moves all over the place, thats the part i want to remove and replace with a script, or work out a different way around it that avoids the "watch me do" function.
    Is this Possible? or where/who is there i can ask to write me a script, im not a novice to scripting, but i am a novice to Applescript.

  • Is there a way of using a mail merge function while on the iphone or ipad, i wish to email a "Word style, ot TXT" document to 250 of my contacts

    Is there a way of using a mail merge function while on the iphone or ipad, i wish to email a "Word style, ot TXT" document to 250 of my contacts, I have tried downloading my contacts to my PC's outlook but only 1 contact comes across at a time despite the fact that Icloud says downloading namedperson + 249 other contacts to a CSV file

    Hi everyone!
    Looking also for an app that allows me to merge email and send them out to each recipient individually. Apparently that's not possible yet. Here's what the guys at RedbitsApps told me about Group Email capabilities: 
    "The current version of the app relies on the device operating system to send the emails. For this reason, sending individual email instead of a single email to multiple recipients is not possible. Apple doesn't allow apps to send single emails to many recipients easily. We may use a custom sending software in a future version."
    Let's keep looking guys... 

  • Anyone been able to get mail merge to work?

    I have a standard form that is currently being filled out
    manually, we would like to add it to our intranet so it could be
    filled out and submitted electronically. I have Ben Forta's book
    "Advanced Macromedia Coldfusion: Application Development Kit" and
    found the section where he talks about how to achieve this, but for
    some reason it just wont work on my system.
    I have Coldfusion 6.1 running locally and Word 2003 loaded.
    I have tried many many ways and have worked on just getting
    each step to work. It seems that the page will hang if it has to
    open a Mail merge main document. It will open a normal document and
    then I can pull text from that document and output it to the page,
    but I want to be able to open a mail merge document and have it
    perform a merge using either a text file or an access database as
    the data source. I am hoping that someone out there can shed some
    light on my problem. Thanks for reading, sorry it is kind of a
    lengthy explanation.....

    These release notes provide late-breaking and release information for Cisco? NAC Appliance, formerly known as Cisco Clean Access (CCA), release 4.1(1). This document describes new features, changes to existing features, limitations and restrictions ("caveats"), upgrade instructions, and related information.
    http://www.cisco.com/en/US/products/ps6128/prod_release_note09186a00807bb9f3.html

  • PDF Maker Mail Merge error

    I have Adobe Acrobat 9 Pro and Office 2007 operating on Windows XP SP3.
    I have been using a Mail Merge word doc for sending out mulitple documents as attachments on emails.
    I have tried to use the Merge to Adobe PDF option and the Mail Merge under the Adobe menu and get the same response on both options:
    "Word experienced a serious problem with the 'acrobat pdfmaker office com addin' add-in. If you have seen this message multiple times, you should disable this add-in and check to see if an update is available. Do you want to disable this add-in?"
    Any suggestions?

    I'm sure glad someone seems to be having success finding work arounds...
    I'm running Vista SP1, Office 2007 SP1, Acrobat Standard 8.1.5
    I am trying to merge a newletter with an address list to PDF files which I then bulk send to print because I get labeled and stapled mail ready documents as output. The source merge file is DOC (2003 compatible) and I have tried saving it as a DOCx file as well.
    Very mixed results with no rhyme or reason... frequently end with the ""Word experienced a serious problem with the 'acrobat pdfmaker office com addin' add-in..."
    I find no weird characters to remove, running the review feature first didn't help...
    This is not the first time I have used this process, nor the first time I've had this issue... Please Find Us Help!
    Today's list has 106 names and addresses on it.
    I try to merge the entire list... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 1 - 5 ... success, Exit Word, Reopen Merge DOC
    I merge records 6 - 20 ... success, Exit Word, Reopen Merge DOC
    I merge records 21 - 40 ... success, Exit Word, Reopen Merge DOC
    I merge records 41 - 60 ... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 41 - 50 ... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 41 - 45 ... success, Exit Word, Reopen Merge DOC
    I merge records 46 - 50 ... success (guess it's not something in the merge data)
    -  Realize that between each merge operation, I exit word and reload the document because I've never gotten a second attempt to go otherwise)
    -  I watch memory (always at least 50% of system available, stable use by WINWORD.EXE and Acrodist.exe during the operation), processor (busy, never pegged, combine WORD and Acrodist never more than aprox 55% of utilization), over 50G of disk available
    I merge records 51 - 80 ... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 51 - 60 ... success, Exit Word, Reopen Merge DOC
    I merge records 61 - 80 ... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 61 - 70 ... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 61 - 65 ... success, Exit Word, Reopen Merge DOC
    I merge records 66 - 80  ... success, Exit Word, Reopen Merge DOC
    I merge records 81 - 100 ... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 81 - 100  ... success (no exit / reopen)
    I merge records 101 - 106 ... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 101 - 106 ... error, Serious prob... disable, No; Serious prob... disable, No; Word auto saved changes to NORMAL.DOT, Load it? No; Exit Word, Save Changes to DOC, NO; Reopen Merge DOC
    I merge records 101 - 106  ... success, Exit Word, Reopen Merge DOC (think about drinking and using labels in the future)
    delete all pages from merge doc except for mailing page, Save As test, Exit Work, Reopen TEST.DOC, retry stipped down document
    I merge records ALL ... success, Exit Word
    So is document size?

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

  • Word 2007 mail merge : problem with mixed portrait and landscape orientations

    Hi there,
    I have a 3 pages document Word 2007 file
    This is a mail merge I want to export in PDF using Adobe Acrobat Printer,
    then send "big" PDF to printing.
    page 1 is PORTRAIT
    page 2 is PORTRAIT
    page 3 is LANDSCAPE
    In PDF pages 1 and 2 are perfectly fine, inside an A4 format (width=210 height=297mm or something)
    but for page 3, system changed to a "double" sized page (A3 width=297 height=420) and printed my stuff at the 1st top middle of big page.
    So I have a big "double" sheet, oriented PORTRAIT, with my stuff in 1st half, and a blank in 2nd half.
    It seems that system did not rotate the page... and just put the stuff into a bigger sheet to "solve" at best.
    I would like the same size of paper (A4) but in landscape : width=297 height=210
    I have already seen many PDF with mixed portrait and landscape orientations, so what's the thing ?
    With my advanced thanks,
    And greetings from Paris, France !
    Vince

    Some questions:
    Which version of office were you using before? 2003?
    Are the data files on a network, or on your local machine? If they are on a network, can you make a copy of one of them on your local machine and try again?
    Can you open the files directly in Excel? What extension do they have (.xls, or something else?) I am wondering whether access to other file types has been left blocked on your machine but is allowed on your colleague's machine.
    Are you just opening the mail merge main document and seeing this message? If so, do you see the same thing if you start with a new document and try to connect to one of these data sources?
    Can you confirm that the message is about Access even though you are trying to connect to an Excel file?
    (Also, office 2007 has some new stuff - that let's you specify that certain folders are "trusted" . I don't think that ever affected MailMerge but it may be as well to make sure that your documents and data sources are in trusted locations).
    Also worth trying to start Word in "Safe mode" - see, e.g. http://office.microsoft.com/en-gb/word-help/work-with-office-safe-modes-HP010140792.aspx
    Peter Jamieson

  • Help needed with Custom Web ADI Integrator for Mail Merge

    Hello,
    I've created a custom web adi integrator to generate letters to advise of end of probationary periods.
    The problem is that at the end of the process when the letter is opened in Word 2007, it only displays one record, and does not allow me to "preview results" and cycle through the records (this part is greyed out). It appears that the letter is not merged with the data spreadsheet although it does display one record from it.
    Our EBS version is 12.1.3 and we are using Office 2007.
    These are the steps I have followed so far (in brief):
    - Create a view to provide data (names, addresses etc).
    - Set up a new custom function (similar to seeded function HR Integrator Setup).
    - Add the custom function and other functions to Desktop Integration responsibility.
    - Add the relevant functions to end user's responsibility menu.
    - Add new category "other" to HR_ADI_DOCUMENT_TYPE lookup.
    - Create Download Excel Integrator by choosing Desktop Integration -> HR Integrator Setup. Enter "PER" for application and my view for the View Name. Upload.
    - Create another Excel document by choosing Desktop Integration -> HR Maintain Form Function Associations, and choose the integrator created above. Enter my custom function name in the generated spreadsheet and upload.
    - Define a layout for the new integrator.
    - Run the integrator under the end user responsibility and save the resulting spreadsheet, which is full of data as expected.
    - Create the letter in Word, using the saved spreadsheet as the data source for the merge. At this point the merge is successful.
    - Go to Desktop Integration -> Document Management and upload the Word mail merge document. Associate it with the custom document type created earlier.
    - Link this document to my integrator.
    - Go in as end user responsibility and run the integrator.
    At this point after enabling macros it loads 2 spreadsheets (one full of data) and the Word document, but the Word document only displays one record (approx the 10th in the list - there are about 100 in total). All of the relevant merge-related menu items on the "Mailings" tab are greyed out.
    Can anyone offer any pointers please?
    I did wonder whether it mattered if I changed the names of documents, e.g when I download and save the resulting spreadsheet full of data which I then use to merge to in the Word Doc, is it OK to call the spreadsheet anything or should it be left as the default name?
    Many thanks,
    Hazel

    Hi Nandhakumar.P,
    thanks for your response. Please find the answers below:
    - Set up a new custom function (similar to seeded function HR Integrator Setup).
    System Administrator -> Application -> Function. Query back the seeded User Function Name = "HR Integrator Setup", make a note of the details, then add a custom function entitled "NTC_HR_LETTERS" with the same details.
    - Add the custom function and other functions to Desktop Integration responsibility.
    System Administrator -> Application -> Menu. Query back User Menu Name = "Desktop Integration Menu" and add the following functions:
    WITHOUT PROMPT
    a. HR Integrator Setup
    b. HR Maintain Integrator Form Functions
    c. HR Disable Integrator
    d. HR ADI Document Overwrite Page
    e. HR ADI Document Upload Page
    f. The custom function created in previous step ("NTC_HR_LETTERS")
    WITH PROMPT
    g. HR ADI Document Management Page
    - Add the relevant functions to end user's responsibility menu.
    System Administrator -> Application -> Menu. Query back menu attached to custom responsibility of end user that will perform the action once set up.
    Add the following:
    a. The custom function "NTC_HR_LETTERS" as created previously (without prompt)
    b. Desktop Integration - Create Document (With Prompt. This function will be used to generate letters)
    - Add new category "other" to HR_ADI_DOCUMENT_TYPE lookup.
    SA_Application Developer -> Application -> Lookups -> Common. Query back Type = HR_ADI_DOCUMENT_TYPE and add a new entry entitled "Other". This document type is later assigned to the Word document I upload and link to the integrator.
    I hopoe that answers your questions.
    Regards,
    Hazel

Maybe you are looking for

  • Is it possible to use two speakers with one Apple Tv ?

    Hello everyone, I bought an Apple Tv and I have one apple express with a Bose speaker and a Bose Link Air speaker. I would like to see a movie using the two speakers but every time that I try to select two speakers in the airplay Apple Tv menu, it au

  • Can no longer sync iPhoto to iPhone

    As of last week, for no reason I can see, I can no longer sync iPhoto to my IPhone. I get an error message. iPhone cannot sync Error code (-50) (approx. translation) My software both ITunes and iPhone are up to date. Everything else syncs well. Any i

  • Mailbox Databases - 1500 users Exchange 2010 DAG

    I have the following setup for a 5 server DAG setup and would like to know the recommended setup for high availability for all user databases. I would like the databases copied to several DAG members servers, but am unsure as to how i should stagger

  • Reports going in queue.

    hi all, In my production server , reports are going in the queue.previously server had the problem (rep-501 unable to connect to specified database).i raised the oracle tar, they suggest me either decrease the EngLife value from 50 to 1 or apply the

  • Anyone else unable to download iTunes 11.1?

    Nothing is happening through the update function in iTunes or on the website.