+ Reply to Thread
Results 1 to 7 of 7

Mail merge code- but WORD doesn't close properly

  1. #1
    Registered User
    Join Date
    03-31-2011
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    68

    Mail merge code- but WORD doesn't close properly

    Hi All,

    I have the following code. It seems to work, but in the background 'CTRL+ALT+DEL' (processes) Microsoft Word is still running with lots of word document.

    I think the code needs tweaking a little. Please help

    Thanks in advance

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Mail merge code- but WORD doesn't close properly

    This line:
    Please Login or Register  to view this content.
    must be qualified:
    Please Login or Register  to view this content.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Registered User
    Join Date
    03-31-2011
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Mail merge code- but WORD doesn't close properly

    Hi Izandol,

    I change the code as suggested.

    But Microsoft Word is still in my processes

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Mail merge code- but WORD doesn't close properly

    Did you close all the previous processes down before testing?

  5. #5
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Mail merge code- but WORD doesn't close properly

    Perhaps you must explicitly quit:
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-31-2011
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Mail merge code- but WORD doesn't close properly

    Izandol, this works perfect now! Thank you very much!

  7. #7
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Mail merge code- but WORD doesn't close properly

    You are welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA code creating E-mail, display it and close window after - Doesn't work
    By Hemandk84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2013, 09:43 AM
  2. VBA code doesn't perform mail merge
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2013, 09:29 AM
  3. [SOLVED] Mail Merge: The merge results are not aligned properly
    By bellevue in forum Excel General
    Replies: 1
    Last Post: 10-29-2012, 03:42 AM
  4. VBA Code Help, mail merge excel to word template
    By scott_j_g in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-19-2012, 08:45 AM
  5. Word Mail Merge and Name File (VBA Code Error)
    By wealthistime in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-14-2011, 03:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1