Word 2007 mail link error

In Word 2007 Mail Merge ToolsOptionsSave method returns ole2_object class error and terminate the process does not allow
Does anyone know what can be?

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

Similar Messages

  • 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

  • Importing Word 2007  documents: linked images getting duplicated!

    If I import a Word 2007 document (.docx) to a page in
    Dreamweaver CS4, either by File-> import or drag and drop,
    images (in the /web_images folder) for which I have already
    inserted hyperlinks in the Word document, are getting duplicated
    and the link in the Dreamweaver page now points to the new,
    duplicate, image, not the original. For example, an image, say
    bike.jpg gets copied to bike_000.jpg and the web page link points
    to /web_images/bike000.jpg.
    This is not only clumsy, it is asking for trouble if for any
    reason an image needs to be updated or whatever somewhere down the
    road.
    I have tried importing with both full and just basic
    formatting, but the result is the same. I haven't found anything in
    Dreamweaver preferences about this.
    Any ideas?

    Hi again
    Thanks for the clarification.
    Okay, so really what you are doing is identical to clicking File > Import > Word Document, because all you are doing by choosing PDF is pre-selecting PDF as the listed file types. Once you change it to point to Word documents it's no different.
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • OLE2 from Forms 10g to Microsoft Word 2007 Mail Merge

    We have an Oracle Form that allows the user to print off information on the Form to a Microsoft Word document via OLE2 and mail merging; Forms version is 10.1.2.0.2 as it the version of OAS (from Linux Redhat AS4). This currently works fine if the user has Microsoft Word 2000, but since a recent upgrade to Office 2003 and now in some cases 2007, this functionality doesn't work. The JInitiator Console displays the following error messages:
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\jovinc
    Proxy Configuration: Manual Configuration
    Proxy: stpproxy:80
    Proxy Overrides: 172.27*,172.28*,10*,10.*,intranet.fnfis.com*,ljtcapd05.fnfis.com,ukbiprodlx01,ukbiprodlx01.certegy.com,ukbiprodlx02*,ukbiprodlx02.certegy.com*
    JAR cache enabled
    Location: C:\Documents and Settings\jovinc\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://ukbiprodlx01.certegy.com:7778/forms/java/frmall_jinit.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/java/frmrwinteg.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/java/frmwebutil.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/java/jacob.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/CTYCommonLive/CommonImages.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/CTYLogonLive/LogonImages.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/CTYXplorerLive/XplorerImages.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    2009-Aug-19 11:30:43.785 ERROR>WUO-714 [OleFunctions.setExceptionValues()] Unable to get the last OLE Error details; Exception
    null
    2009-Aug-19 11:30:43.785 ERROR>WUO-707 [OleFunctions.invoke_obj()] Unable to invoke Method: TypeText; Exception
    com.jacob.com.ComFailException: A COM exception has been encountered:
    At Invoke of: TypeText
    Description: Type mismatch.
    2009-Aug-19 11:30:44.848 ERROR>WUO-707 [OleFunctions.invoke_obj()] Unable to invoke Method: Execute; Exception
    com.jacob.com.ComFailException: Invoke of: Execute
    Source: Microsoft Word
    Description: This method or property is not available because the document is not a mail merge main document.
    The below code is used within the Form when they invoke the 'Print' function:
    PROCEDURE PR_print_invoice
    IS
    l_t_application CLIENT_OLE2.OBJ_TYPE;
    l_t_documents CLIENT_OLE2.OBJ_TYPE;
    l_t_source_doc CLIENT_OLE2.OBJ_TYPE;
    l_t_letter_doc CLIENT_OLE2.OBJ_TYPE;
    l_t_merge_doc CLIENT_OLE2.OBJ_TYPE;
    l_t_mail_merge CLIENT_OLE2.OBJ_TYPE;
    l_t_selection CLIENT_OLE2.OBJ_TYPE;
    l_t_args CLIENT_OLE2.LIST_TYPE;
    l_t_args_move_right CLIENT_OLE2.LIST_TYPE;
    l_v_sourcefile VARCHAR2(2000);
    l_v_letter VARCHAR2(2000);
    l_v_mergefile VARCHAR2(2000);      
    l_v_destination_directory VARCHAR2(2000);
    l_v_source_directory VARCHAR2(2000);
    l_n_ok NUMBER;
    l_n_tax NUMBER;
    l_n_total_value NUMBER;
    l_n_total_tax NUMBER;
    l_v_country VARCHAR2(3);     
    l_t_bca_client_address_line1 bill_client_address.bca_client_address_line1%TYPE;
    l_t_bca_client_address_line2 bill_client_address.bca_client_address_line2%TYPE;
    l_t_bca_client_address_line3 bill_client_address.bca_client_address_line3%TYPE;
    l_t_bca_client_address_line4 bill_client_address.bca_client_address_line4%TYPE;
    l_t_bca_client_address_line5 bill_client_address.bca_client_address_line5%TYPE;
    l_t_bca_client_address_line6 bill_client_address.bca_client_address_line6%TYPE;
    l_t_bcl_client_name bill_client.bcl_client_name%TYPE;
    l_t_bcl_client_id bill_client.bcl_client_id%TYPE;
    l_t_trt_rate tax_rate.trt_rate%TYPE;     
    l_t_rli_description_1 reference_list.rli_description_1%TYPE;
    l_n_item_count NUMBER := 0;
    l_b_debug BOOLEAN;
    l_b_ok BOOLEAN;
    l_n_bookmark NUMBER := 0;
    l_n_counter PLS_INTEGER;
    CURSOR l_cur_client( p_ti_bcl_seq_num IN bill_client.bcl_seq_num%TYPE )
    IS
    SELECT bcl_client_id
    , bcl_client_name
    FROM bill_client
    WHERE bcl_seq_num = p_ti_bcl_seq_num
    CURSOR l_cur_client_address( p_ti_bcl_seq_num IN bill_client.bcl_seq_num%TYPE )
    IS
    SELECT bca_client_address_line1
    , bca_client_address_line2
    , bca_client_address_line3
    , bca_client_address_line4
    , bca_client_address_line5
    , bca_client_address_line6
    FROM bill_client_address bca
    , role
    WHERE bca_bcl_seq_num = p_ti_bcl_seq_num
    AND rol_ref_type = 'INVPOINT'
    AND rol_bcl_seq_num = p_ti_bcl_seq_num
    AND rol_bca_seq_num = bca_seq_num
    CURSOR l_cur_items( p_ti_mih_seq_num IN manual_invoice_header.mih_seq_num%TYPE )
    IS
    SELECT mil_tco_seq_num
    , mil_value
    , mil_description
    , mil_quantity
    , rownum
    FROM manual_invoice_line mil
    WHERE mil_mih_seq_num = p_ti_mih_seq_num
    CURSOR l_cur_count_items( p_ti_mih_seq_num IN manual_invoice_header.mih_seq_num%TYPE )
    IS
    SELECT count(*)
    FROM manual_invoice_line
    WHERE mil_mih_seq_num = p_ti_mih_seq_num
    CURSOR l_cur_tax_rate( p_ti_tco_seq_num IN tax_rate.trt_tco_seq_num%TYPE
    , p_ti_mih_invoice_date manual_invoice_header.mih_invoice_date%TYPE )
    IS
    SELECT trt_rate
    FROM tax_rate
    WHERE trt_tco_seq_num = p_ti_tco_seq_num
    AND p_ti_mih_invoice_date BETWEEN trt_effective_date AND NVL( trt_effective_end_date, p_ti_mih_invoice_date )
    CURSOR l_cur_ref_list( p_ti_rli_code reference_list.rli_code%TYPE )
    IS
    SELECT rli_description_1
    FROM reference_list
    WHERE rli_rty_code = 'INTYP'
    AND rli_bcy_seq_num = NVL( :GLOBAL.bcy_seq_num, 1 )
    AND rli_code = p_ti_rli_code
    CURSOR l_cur_country( p_ti_bcy_seq_num bill_country.bcy_seq_num%TYPE )
    IS
    SELECT bcy_short_name
    FROM bill_country
    WHERE bcy_seq_num = p_ti_bcy_seq_num
    PROCEDURE PR_Insert_Cell( p_vi_text IN VARCHAR2 )
    IS
    l_n_bookmark NUMBER := 0;
    BEGIN
    l_n_bookmark := 1;
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args, p_vi_text );
    CLIENT_OLE2.INVOKE( l_t_selection, 'TypeText', l_t_args);
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    EXCEPTION
    WHEN FORM_TRIGGER_FAILURE
    THEN
    RAISE;
    WHEN OTHERS
    THEN
    PA_lib_msg.PR_others_exception( 'PA_hci_misc.PR_print_invoice.PR_insert_cell', l_n_bookmark );
    END;
    BEGIN
    l_n_bookmark := 1;
    SYNCHRONIZE;
    l_n_bookmark := 2;
    OPEN l_cur_country( :GLOBAL.bcy_seq_num );
    FETCH l_cur_country INTO l_v_country;
    CLOSE l_cur_country;
    -- Determine invoice names and locations and fetch them from the server
    l_n_bookmark := 3;
    l_v_sourcefile := pa_lib_security.fn_fetch_environment( 'ManualInvoiceSourceFile' );
    l_v_letter := pa_lib_security.fn_fetch_environment( l_v_country || 'ManualInvoiceMergeFile' );
    l_v_source_directory := pa_lib_security.fn_fetch_environment( 'SourceManualInvoiceDirectory' );
    l_v_destination_directory := pa_lib_security.fn_fetch_environment( 'DestinationManualInvoiceDir' );
    l_b_debug := ( pa_lib_security.fn_fetch_environment( 'ManualInvoiceDebug' ) = 'Y' );
    l_b_ok := webutil_file_transfer.as_to_client( l_v_destination_directory||l_v_sourcefile, l_v_source_directory||l_v_sourcefile );
    l_b_ok := webutil_file_transfer.as_to_client( l_v_destination_directory||l_v_letter, l_v_source_directory||l_v_letter );
    l_n_bookmark := 4;
    IF ( :SYSTEM.FORM_STATUS = 'CHANGED' )
    THEN
    l_n_bookmark := 5;
    DO_KEY('commit_form');
    END IF;
    l_n_bookmark := 6;
    OPEN l_cur_count_items( :blk_manual_inv_header.mih_seq_num );
    FETCH l_cur_count_items INTO l_n_item_count;
    CLOSE l_cur_count_items;
    IF ( l_n_item_count = 0 )
    THEN
    pa_lib_msg.pr_message_alert( 'STB', -119 );
    RETURN;
    END IF;
    l_n_bookmark := 7;
    SET_APPLICATION_PROPERTY( CURSOR_STYLE, 'BUSY' );
    -- Start Word
    l_n_bookmark := 8;
    l_t_application := CLIENT_OLE2.CREATE_OBJ( 'Word.Application' );
    l_t_documents := CLIENT_OLE2.GET_OBJ_PROPERTY( l_t_application, 'Documents' );
    IF ( l_b_debug )
    THEN
    CLIENT_OLE2.SET_PROPERTY( l_t_application, 'Visible', 1 );
    END IF;
    -- Open source file
    l_n_bookmark := 9;
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args, l_v_destination_directory||l_v_sourcefile );
    l_t_source_doc := CLIENT_OLE2.INVOKE_OBJ( l_t_documents, 'Open', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    -- Populate source file with invoice items
    l_n_bookmark := 10;
    OPEN l_cur_client( :parameter.p_bcl_seq_num );
    FETCH l_cur_client INTO l_t_bcl_client_id, l_t_bcl_client_name;
    IF ( l_cur_client%NOTFOUND )
    THEN
    CLOSE l_cur_client;
    pa_lib_msg.pr_message_alert( 'STB', -121 );
    END IF;
    CLOSE l_cur_client;
    l_n_bookmark := 11;
    OPEN l_cur_client_address( :parameter.p_bcl_seq_num );
    FETCH l_cur_client_address INTO l_t_bca_client_address_line1
    , l_t_bca_client_address_line2
    , l_t_bca_client_address_line3
    , l_t_bca_client_address_line4
    , l_t_bca_client_address_line5
    , l_t_bca_client_address_line6;
    IF ( l_cur_client_address%NOTFOUND )
    THEN
    CLOSE l_cur_client_address;
    pa_lib_msg.pr_message_alert( 'STB', -122 );
    END IF;
    CLOSE l_cur_client_address;
    l_n_bookmark := 12;
    OPEN l_cur_ref_list( :blk_manual_inv_header.mih_invoice_type );
    FETCH l_cur_ref_list INTO l_t_rli_description_1;
    IF ( l_cur_ref_list%NOTFOUND )
    THEN
    CLOSE l_cur_ref_list;
    pa_lib_msg.pr_message_alert( 'STB', -123 );
    END IF;
    CLOSE l_cur_ref_list;
    -- Move to first data column
    l_n_bookmark := 13;
    l_t_selection := CLIENT_OLE2.GET_OBJ_PROPERTY( l_t_application, 'Selection' );
    l_t_args_move_right := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args_move_right, 12 );
    CLIENT_OLE2.ADD_ARG( l_t_args_move_right, 1 );
    CLIENT_OLE2.ADD_ARG( l_t_args_move_right, 0 );
    FOR l_n_counter IN 1 .. 19
    LOOP
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    END LOOP;
    l_n_bookmark := 14;
    l_n_total_value := 0;
    l_n_total_tax := 0;
    FOR l_r_items IN l_cur_items( :blk_manual_inv_header.mih_seq_num )
    LOOP
    l_n_bookmark := 15;
    OPEN l_cur_tax_rate( l_r_items.mil_tco_seq_num, :blk_manual_inv_header.mih_invoice_date );
    FETCH l_cur_tax_rate INTO l_t_trt_rate;
    IF ( l_cur_tax_rate%NOTFOUND )
    THEN
    CLOSE l_cur_tax_rate;
    pa_lib_msg.pr_message_alert( 'STB', -124 );
    END IF;
    CLOSE l_cur_tax_rate;
    l_n_tax := ROUND( l_r_items.mil_value * ( l_t_trt_rate / 100 ), 2 );
    l_n_total_tax := l_n_total_tax + l_n_tax;
    l_n_total_value := l_n_total_value + l_r_items.mil_value;
    END LOOP;
    l_n_bookmark := 16;
    FOR l_r_items IN l_cur_items( :blk_manual_inv_header.mih_seq_num )
    LOOP
    l_n_bookmark := 17;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_r_items.mil_description );
    l_n_bookmark := 18;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( TO_CHAR( l_r_items.mil_quantity ) );
    l_n_bookmark := 19;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( TO_CHAR( l_r_items.mil_value, '99999999.90' ) );
    l_n_bookmark := 20;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    OPEN l_cur_tax_rate( l_r_items.mil_tco_seq_num, :blk_manual_inv_header.mih_invoice_date );
    FETCH l_cur_tax_rate INTO l_t_trt_rate;
    IF ( l_cur_tax_rate%NOTFOUND )
    THEN
    CLOSE l_cur_tax_rate;
    pa_lib_msg.pr_message_alert( 'STB', -124 );
    END IF;
    CLOSE l_cur_tax_rate;
    PR_insert_cell( TO_CHAR( l_t_trt_rate ) || '%' );
    l_n_bookmark := 21;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    l_n_tax := ROUND( l_r_items.mil_value * ( l_t_trt_rate / 100 ), 2 );
    PR_insert_cell( TO_CHAR( l_n_tax, '99999999.90' ) );
    l_n_bookmark := 22;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( TO_CHAR( l_r_items.rownum ) );
    l_n_bookmark := 23;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( UPPER( l_t_rli_description_1 ) );
    l_n_bookmark := 24;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bcl_client_name );
    l_n_bookmark := 25;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line1 );
    l_n_bookmark := 26;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line2 );
    l_n_bookmark := 27;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line3 );
    l_n_bookmark := 28;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line4 );
    l_n_bookmark := 29;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line5 );
    l_n_bookmark := 30;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line6 );
    l_n_bookmark := 31;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( TO_CHAR( :blk_manual_inv_header.mih_invoice_date, 'DD/MM/YYYY' ) );
    l_n_bookmark := 32;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bcl_client_id );
    l_n_bookmark := 33;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    IF ( :blk_manual_inv_header.mih_invoice_prefix IS NULL )
    THEN
    PR_insert_cell( TO_CHAR( :blk_manual_inv_header.mih_invoice_number, '0000000009' ) || '/' ||
    TO_CHAR( :blk_manual_inv_header.mih_issue_number, '09') );
    ELSE
    IF ( NVL( LENGTH( :blk_manual_inv_header.mih_invoice_prefix), 0 ) = 1 )
    THEN
    PR_insert_cell( :blk_manual_inv_header.mih_invoice_prefix ||
    TO_CHAR( :blk_manual_inv_header.mih_invoice_number, '000000009' ) || '/' ||
    TO_CHAR( :blk_manual_inv_header.mih_issue_number, '09' ) );
    ELSE
    PR_insert_cell( :blk_manual_inv_header.mih_invoice_prefix ||
    TO_CHAR( :blk_manual_inv_header.mih_invoice_number, '00000009' ) || '/' ||
    TO_CHAR( :blk_manual_inv_header.mih_issue_number, '09' ) );
    END IF;
    END IF;
    l_n_bookmark := 34;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    IF ( l_r_items.rownum = 1 )
    THEN
    PR_insert_cell( TO_CHAR( l_n_total_value, '99999999.90') );
    END IF;
    l_n_bookmark := 35;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    IF ( l_r_items.rownum = 1 )
    THEN
    PR_insert_cell( TO_CHAR( l_n_total_tax, '99999999.90' ) );
    END IF;
    l_n_bookmark := 36;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    IF ( l_r_items.rownum = 1 )
    THEN
    PR_insert_cell( TO_CHAR( l_n_total_value + l_n_total_tax, '99999999.90' ) );
    END IF;
    END LOOP;
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args_move_right );
    -- Open merge file
    l_n_bookmark := 37;
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args, l_v_destination_directory||l_v_letter );
    l_t_letter_doc := CLIENT_OLE2.INVOKE_OBJ( l_t_documents, 'Open', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    -- Do mail merge
    l_n_bookmark := 38;
    l_t_mail_merge := CLIENT_OLE2.GET_OBJ_PROPERTY( l_t_letter_doc, 'MailMerge');
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.INVOKE( l_t_mail_merge, 'Execute', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    -- Print
    l_n_bookmark := 39;
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    l_t_merge_doc := CLIENT_OLE2.GET_OBJ_PROPERTY( l_t_application, 'ActiveDocument' );
    CLIENT_OLE2.ADD_ARG( l_t_args, 0 );
    CLIENT_OLE2.INVOKE( l_t_merge_doc, 'PrintOut', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    -- Cleanup
    l_n_bookmark := 40;
    IF ( NOT( l_b_debug ) )
    THEN
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args, 0 );
    CLIENT_OLE2.INVOKE( l_t_documents, 'Close', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    CLIENT_OLE2.INVOKE( l_t_application, 'QUIT' );
    END IF;
    CLIENT_OLE2.RELEASE_OBJ( l_t_selection );
    CLIENT_OLE2.RELEASE_OBJ( l_t_mail_merge );
    CLIENT_OLE2.RELEASE_OBJ( l_t_source_doc );
    CLIENT_OLE2.RELEASE_OBJ( l_t_letter_doc );
    CLIENT_OLE2.RELEASE_OBJ( l_t_merge_doc );
    CLIENT_OLE2.RELEASE_OBJ( l_t_documents );
    CLIENT_OLE2.RELEASE_OBJ( l_t_application );
    l_n_bookmark := 41;
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
    EXCEPTION
    WHEN FORM_TRIGGER_FAILURE
    THEN
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
    RAISE;
    WHEN OTHERS
    THEN
    PA_lib_msg.PR_others_exception('PA_hci_misc.PR_print_invoice',l_n_bookmark);
    END;
    ---------------------------------

    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

  • MS Word 2007 Mail Merge Doc save as changes content of other documents everytime I save as a new document

    Have a mail merge initiated in Access that creates a Merge document. When I save the document as newXXX.doc..........., doc is saved but internal contents of oldXXX.doc are also changed to match last saved document. Help please.

    That suggests you are saving a copy of the mailmerge main document instead of executing the merge to create an output document - which is the one you should be saving. Consequently, with your current process, the saved document remains linked to the data
    source.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • User is having a save issue with Word 2007 documents created from a template.

    I have 1 particular user, out of approx. 30, that is experiencing an intermittent problem when trying to save a Word 2007 document to a network drive.  The particular error is
    "Word cannot complete the save due to a file permission error. (xxx.docx)"  CTRL-SHIFT-I Error Code is: 701743
    This only happens while he is working in a document created from a template (.dotm) file I made a few months ago.  The problem has never occurred with any other Word docs or Excel, or any of the other users accessing the template to create documents. He
    also gets an error message stating
    "xxx.docx cannot be found.  Check your spelling, or try a different path."  CTRL-SHIFT-I Error Code is: 200635
    But this only occurs when trying to "Save As"  The odd thing is that if he renames the file to something like xxx1.docx, it will allow him to save on the network folder with no issues.  And as mentioned, this is intermittent - he may go weeks without
    seeing the message while doing nothing different.
    I have tried search for similar issues in the forums but they don't seem to match exactly what is happening to us.  Our 3-man IT department seems to be at a loss and I have had good luck solving other issues in this forum so I thought I would give it
    a try.
    Any ideas would be appreciated.
    Thanks,
    Adam

    Hi,
    It's seems temporary internet folder corrupted, please try to modify the location for temporary Internet files for Internet Explorer test this issue:
     1.In Internet Explorer, choose Internet Options from the Tools menu to display the Internet Options dialog.
     2.In the Internet Options dialog, click the General tab. In the Browsing history section click Settings to open the Temporary Internet Files and History Settings dialog.
     3.In the Temporary Internet Files and History Settings dialog, click Move Folder to open the Browse for Folder dialog.
     4.In the Browse for Folder dialog, select the following location.
    C:\Users\<user name>\AppData\Local\Microsoft\Windows\Temporary Internet Files
    5.Click OK to close the Browse for Folder dialog. Click OK to close the Temporary Internet Files and History Settings dialog. Click OK to close the Internet Options dialog.
    6.Reboot the computer.
    More detailed information you can refer to below link:
    http://blogs.technet.com/b/ryan_christiansen/archive/2008/04/28/word-2007-file-save-errors-an-error-is-displayed-when-attempting-to-save-a-word-document.aspx
    If this problem still persists, please refer to this article troubleshooting problems:
    http://support.microsoft.com/kb/921541
    Best regards.
    William Zhou
    TechNet Community Support

  • Converted MS Word 2007 to Adobe Acrobat 9 random "Bad Parameter" Error

    Question: I Converted MS Word 2007 file which contained 892 pages into Adobe Acrobat 9 Standard afterwards and while needing to update only certain pages I receive the "Bad Parameter" Error. My process is using drop down Document/Extract pages(make my updates)/Replace pages into complete PDF file/ usually with no problem then towards the last pages of the PDF the Error showed up! I believe that it’s possible, the conversion initially may have allowed many tags to be written correctly but some are corrupted. It could be a buffer-overflow failsafe that is having an adverse effect against the two programs because of the file’s size? I have seen some good advice come from many people on this site like "Bill@VT" and "CtDave" and others so I am humbly requesting assistance? Some additional background information is I have to keep the file size the same and I cannot print to PDF file from Word due to a specific format I must keep and most of the PDF is not corrupt: meaning receiving the "Error". I would like to know if the error that seems to be due to the conversion process can be corrected. I have provided some additional similar post below from other customers that may be useful as reference material?  R/ Thanks in advance! 
    “Like 10 others, I get a "bad parameter" pop-up window when I try to delete 1 or more pages from a PDF created from Adobe 8 Pro from Microsoft Word 2007.  Of the 3 computers we have tried to delete the pages, we are running Windows XP and Office 2007 on all.  But 1 computer has Adobe 7 Pro, one has Adobe 8 Pro, and the 3rd has Adobe 9 Pro.  None are able to delete or extract the pages -- we get the bad parameter error each time we try. The PDF has 260 pages and occupies 5.7 MB memory.  What additional information can I provide to get a resolution to this problem?  Thanks!” “Civilengr10” (posted Aug 17, 2010)
    “I am taking adobe files from a database, saving them, and then making changes to them by inserting (from other adobe files from the same database) or deleting pages.  Very basic stuff! However, sometimes when I want to insert pages, it will insert them but then say "bad parameter".  After that point, I cannot delete any pages.  It will give me the "bad parameter" error again and not delete. I have reduced the file size, ran "Examine Document" and removed whatever it wanted me to, and whenever I save a file, I do Save As...instead of Save! Also, under preferences > security I have the "Verify signatures when the document is opened" unchecked. None of these recommendations that I have read elsewhere work.  Can someone offer me some guidance? I am working on the files locally.  I save the files from the database unto my own folder on the computer. The thing is, some of the files I download from the database are fine and do not give me any error, but others do.  Do you know how I can fix the files that are corrupted from the database?” “hoda64” (posted July 22, 2009)
    “Problem converting Word 2007 DOC to PDF 9
    I have a Word 2007 DOC (not docx) file with pictures and text which converted perfectly with Distiller 8. I installed CS4 Distiller 9, and now the same DOC file flows over onto several extra pages. I am using the default settings. Any idea what has changed? Thanks in advance.  “Petrula” (posted Nov 29, 2002) “First, select the Adobe PDF printer in WORD. Then go through the document to check for the flow of the document. It should print the same as you see in the document after the printer has been selected.”

    For the replace and delete pages, I can only guess that you are messing up some of the bookmarks or links in the page from what I think you have based on the description. I would work on copies between each stage so that you can at least go back to the last success stage. If possible, you are better to go back and do the modifications in the original page and the recreate the PDF. If that is not possible, then maybe a better explanation of how you are creating the PDF would help folks understand your process fully and suggest a solution.
    On the latter, I would do a repair on Acrobat. However, it may be in the process you are using in the conversion from WORD. How are you creating the PDF from WORD? Have you updated AA9 and not simply have 9.0? The confusing point is that you talk about Distiller for getting the PDF from WORD. Distiller is often involved, but only behind the scenes and normally you either print to the Adobe PDF printer, use PDF Maker, or use the MS plugin for PDF creation. So when stating Distiller, it is unclear what process you are using since none of the methods I mention state the use of Distiller even if it is used in the background.

  • Acrobat X 10.02 crashes when converting Word 2007 document wiht linked Visio file.

    Acrobat X 10.02 crashes when converting Word 2007 document with linked Visio file and causes a C++ runtime error in Word and crashes Word.
    To see the behavior create a short Word 2007 document with a linked Visio file (e.g., create a Visio file with one box and text and insert it as a link into a Word docx).
    No problem in Acrobat 9

    There may be some of an issue with AA X on this, but part of the blame probably goes to MS also. I would suggest you simply clip the graphic from VISIO as a vector graphic (EMF will be used by default) and not do the link and do not embed the VISIO object. The linking and use of embedded objects in WORD 2007 seems to have been a major problem and is mostly a MS issue.

  • Error message: Missing PDF maker files in Word 2007

    OK, I am beyond frustrated. I have had nothing but trouble with Windows Vista and Adobe Acrobat. Please help!!!
    What happens: first, the pdf addin for Word 2007 suddenly becomes disabled, for no apparent reason. Forget about trying to re-enable it through the Add-Ins menu, because Word tells me that the "connected state of Office Add-Ins registered in the HKEY_LOCAL_MACHINE cannot be changed". This is a problem for me, because I use a special font (Vietnamese) that sometimes gets corrupted when running pdf maker. The only consistent way I have found to avoid this problem is to run the pdf maker as "Quick PDF" and as far as I can see that option is only available through the pdf addin in Word, I have never been able to find it when I open the Acrobat program and create a pdf from there.
    Second problem: shortly after the pdf addin becomes disabled, my Acrobat program loses the ability to create pdfs altogether. I get the error message "Missing PDF maker files". Yes, I have tried repairing the installation and re-starting my computer per the instructions given. It doesn't fix the problem. I also tried looking in the Knowledge Database on this website, but it appears that the instructions they have to fix the problem there are for earlier versions of Word, not 2007, because my version of word does not look like the version of Word in their little videos.
    This is the second time this has happened. The first time I resolved the problem by a) re-installing Acrobat, which is a pain because it involves calling Adobe and wading through their customer service to get a new installation number, and b) paying a computer repair service to dig deep into the guts of my computer and convince it to change the Office Add-ins to allow the pdf addin again. It worked for about 6 months, and now I have the same problem again. For some reason Vista is spontaneously disabling Acrobat.
    I simply cannot deal with this every few months. We all know that Vista is a crappy program, but I run a business and I need a program that works with whatever crappy program Microsoft puts out. Please, can anyone give me suggestions about how to re-enable these functions when Vista disables them?
    Thanks in advance!
    Alycia

    for Office 2007, see if this Microsoft product will work for you
    http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87 041&displaylang=en

  • Error this object is corrupt or is no longer available while trying to open a embedded files in word 2007 or 2013

    Hi All
    Word 2007 and 2013 always show this error
    This object is corrupt or is no longer available while clicking a embedded files( like pdf, doc and xls). I tried reinstall office 2007, and office 2013. But still have same problems.
    I surf internet, find out solution like turnning  off the add-on,  but not working for me, and I do not install Norton AntiVirus.
    Does anyone know what the solution of this issue is, I do not have any idea right now.
    Thanks in advance!!!!!

    I notice there is a cross post on Answer Forum:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/error-the-object-is-corrupt-or-is-no-longer/fde2160e-fc19-4f90-81db-4f569fac7b95
    Is Dinel's suggestion helpful?
    Tony Chen
    TechNet Community Support

  • I'm unable to access my yahoo email account using updated firefox browser, i keep getting error page when I use the mail link on yahoo pages

    Since updating Firefox browser, i am unable to gain access to my yahoo email account. I can access the email with Interent Explorer with no trouble. Whenever I click on a mail link on the yahoo sites to check my mail, I get rerouted to an error page ..... "Sorry, we can't find "ca.mg4.mail.yahoo.com/dc/launch?.gx=1". Please check the spelling of the web address." is what is said at top of page whenever I click on any mail links.

    This is how I fixed it on my new iPhone 5S. Using the standard yahoo setting on my phone.
    You will have to access  "managing your app passwords" on your account profile for yahoo. Generate password for your app. For example: "My iPhone 5S'
    Go to your Iphone and set up your yahoo mail account on your phone the normal way and you have to use the generated password.  instead of the yahoo account password.
    source:
    http://virtualizeme.net/iphone-5-yahoo-mail-server-unavailable-fix/
    I hope this helps,
    cheers

  • Error while previewing in Word 2007

    I am using word 2007 and have xml publisher template builder for word version 5.6 build 45 in stalled on my system. I have installed MS .NET 2.0 patch also.
    When i select for preview after loading the data, every time i hit the same error. the error does not chnage with the type of preview type chosen.
    the error is
    Windows cannot find 'C:\PROGRA~1\Oracle\XML'.Make sure you typed the name correctly, and then try again. To search for a file, click the start button and then click Search
    Can anybody please help.

    Now i have upgraded to Oracle BI Publisher Template Builder for Word 10.1.3.3.2 build 115
    but still when i preview i am hitting error
    Windows cannot find 'C:\DOCUME~1\user123\Local'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.

  • Word 2007 - Save as Pdf gives error - This file is in use by another application or user

    I have MS Office 2007 Small Business.
    For months I have been using the "Save as PDF/XPS" option to save my word documents as PDF files.
    All of a sudden, when I click on the publish button within the "save as PDF dialog", I get the error:
    "This file is in use by another application or user."
    - I have tried creating a new word document and I still get this error when I try to save-as pdf. 
    - I have tried opening a document that previously was able to be saved-as-a-pdf, and it no longer works either.
    - I have tried saving from other office applications (excel, powerpoint) that also get errors now.
    I have not personally installed any new software that I recall between when this worked and stopped working for me.
    As far as I can tell there have been no updates explicitly for save-as-pdf in office.
    Is anyone else seeing this problem all-of-a-sudden?
    Thanks.
    jlk

    I just encountered this problem while trying to save a pdf from Excel 2007.  I had recently updated to Adobe Reader 9.1.
    I received the same error message you're reporting here when I went to Word 2007 and tried to save a pdf file from it as well. 
    I uninstalled Adobe Reader 9.1. 
    Reinstalled the Office 2007 pdf plug-in
    Successfully created pdf files from word and from Excel (which is what I needed to do in the first place).
    I then reinstalled Adobe Reader 9.1 so I could read the PDF files I had just created in Excel and word.
    I then tried to create pdf files from word and excel.  Error messages are back and I'm unable to create pdf's from word or excel.
    So.. why does Office 2007 pdf plugin not work when Adobe Reader 9.1 is installed?
    Frankly I'm getting tired of uninstalling Adobe Reader 9.1 every time I need to create a pdf file in Word or Excel.
    Bry

  • Save as PDF option in MS Word 2007 does not create TOC links

    Hello All,
    i am using Microsoft Office Word 2007 to create How to Guides, Installation Manuals, and other technical documents. I send these documents to customer in PDF format.
    When i use "Save as PDF" option of MS Word 2007 to generate PDF file, it creates the PDF but without TOC links. TOC entries are there but hyperlinks are missing.
    Can anyone please provide me a solution to work around this issue.
    Thanks in Advance.
    Anax Thomas
    http://www.msentouragerecovery.com

    Hi,
    It seems that you are trying to insert a Hyperlink in you document which you want to save as a PDF file from Word 2007,
    but when you open the PDF file there is no such a Hyperlink but only the website address.
    If there is anything misunderstanding, please feel free to let me know.
    Try this:
    When you have inputted the website address, enter an “Space” or “Enter” behind it to make it
    turn into a Hyperlink before you save the document into PDF file.
    Sincerely,
    Fangfang

  • RH8 Linked Word 2007 docx - not all hyperlinks convert

    I'm brand new to RoboHelp. I'm linking Word docs instead of importing, and some Word cross-references are not turning into RH hyperlinks. Most of them work just fine. The ones that don't work look like hyperlinks; they are blue and bold (picking up the correct style from Word) but when I check the HTML, there is no code for a link. All the links in Word were created the same way: cross-references to Headers. Many, but not all, of the dead links have the first letter underlined. Some functional links have the first letter or word underlined too, as well as the whole link underlined.
    Do only certain levels of headers convert to links (e.g. H1 and H2 only) or is there a maximum number of links allowed per Word docx? Why are only fragments of the links underlined?  I saw a few related questions in forums about hyperlinks not converting at all, but most of mine did convert. If none of them had, I'd know I was missing a switch somewhere, but since most of them work, and they were all created the same way, I'm not sure how to fix.
    The Word documents were created by converting FrameMaker 7 documents to FrameMaker 9, then exported as RTF (the export from Frame 7 was not really usable). I created a Word template, created new documentx from it, then copied the RTF text. The cross-references all had to be redone, as the links in Frame were not to headers, but to manually created bookmarks.
    I'd really like to keep the source docs in Word, so that I don't have to make all the future updates myself (the coders already use Word; they have no time to learn RoboHelp). Any suggestion would be much appreciated.
    Thak you, Debbie @ Tronia Systems

    Hi Susie,
    I've been pulling my hair out for two days over these darn links that won't convert
    I have Headings level 1-5 in my Word docx. The project settings in RoboHelp specify to create new HTML pages for Headers 1, 2, and 3. It is some, but not all, of the Header level 4 and 5’s that are not converting to links in RH. I don’t know if that has anything to do with it or not. That's the frustrating part – if ALL the Header 4 and Header 5’s didn’t convert, that indicates one kind of problem. But most of them DID convert. And they were all created the same way!
    In Word 2007, creating cross-references to headers was the easiest way to create my links, so I created all of them that way. For the stubborn ones that just wouldn't convert to RoboHelp, I tried every other way I could think of to create links. This is the only way I could get them to work:
    From the Insert ribbon, click Hyperlink instead of Cross-Reference
    Link to: Place in this document
    Select place: pick the header destination
    It takes much longer this way, but it works. If you come up with a more streamlined solution, please feel free to share
    -Debbie

Maybe you are looking for

  • Query with column is null is very slow

    I have a query - select * from grv3que where gq_process_date is null; that is very slow when returned 4 records (the table has total 60000 records). SQL> desc grv3que Name Null? Type GQ_ID NOT NULL NUMBER(15) GQ_MESSAGE LONG GQ_RECEIVE_DATE DATE GQ_P

  • Need someone help in SAPMV45A_CHECK_VBAP

    Dear all, I have confront following problem in SO items quantity checking : When I process the checking in SO items , I need to know the whole item list which have already been inputed by user. But in USER-EXIT SAPMV45A_CHECK_VBAP, I can not found th

  • DROP SHADOWS AND VIDEO ISSUES

    I am using Windows7 and ID CS5.  I have discovered that having more than one drop shadow causes ID to redraw the entire page after every action.  Move a text box a fraction of an inch and it redraws everything.  This usually takes between 15-20 secon

  • When will the 7d Mark II camera be supported for tethering?

    Good Morning All - I purchased a 7d Mark II camera recently and was pleased to see Lightroom be able to work with my RAW files.  I would now like to move into the realm of Tethered shooting with this new camera and Lightroom but it appears my camera

  • Data Scaling Error

    Hi, I am working through the tutorial file for NI Lookout 6.2. I have attached a screenshot of a Data Scaling Error problem  following completion of the section "Configure Data for Logging, Scaling and Alarms" on page 8 of the tutorial. In the attach