+ Reply to Thread
Results 1 to 3 of 3

Mail merge DDE issue

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    Panama
    MS-Off Ver
    Excel 2007
    Posts
    90

    Mail merge DDE issue

    Good Day,

    I am trying to create a mail merge using word and pulling from an excel document,

    When i select the document I want to bring my information from and it asks me to confirmed the data source,

    If I select OLE DB Database Files,

    it works fine (unfortunately it doesn't have the same format from excel)

    So the suggested fix is to select MC Excel Worksheets via DDE (*.xls)

    However when doing so, my headers don't align with my columns information,

    as if the headers are shifted one column to the right while the information stays in its current location,

    so this...

    OLE

    name phone zip
    Max 111-111-1111 12345
    Jane 222-222-2222 54321

    looks like this in DDE....

    name phone zip
    Max 111-111-1111 12345
    Jane 222-222-2222 54321

    The excel is saved as a macro enabled sheet, does that have anything to do with it?

    When asked in DDE to select a sheet ... i only see "entire spreadsheet" but that only will read the first sheet, is there any way to choose which sheet?

    Thanks for your time,
    Last edited by Zealotwraith; 01-16-2014 at 11:11 AM.

  2. #2
    Registered User
    Join Date
    12-27-2012
    Location
    Panama
    MS-Off Ver
    Excel 2007
    Posts
    90

    Re: Mail merge DDE issue

    Funny thing... on forums I always end up answering my own question ....

    I had blank columns in the beginning, all i did was hide them and it worked,

  3. #3
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Mail merge DDE issue

    FWIW, the 'correct' way to manage the output formatting in a mailmerge is via field switches, not by switching to DDE. Whilst using DDE preserves the formatting in the data source, for anything different you'd need to either change the source format, use extra fields for different formats, or use field switches - the same as you can with the OLE DB default. The most commonly-needed formatting switches were discussed just a few days ago in this thread: http://www.excelforum.com/word-forma...-in-excel.html
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ 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. Mail Merge from Excel Issue
    By Beacho in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2013, 10:29 AM
  2. Mail merge format issue
    By Vogelmann in forum Word Formatting & General
    Replies: 1
    Last Post: 03-29-2013, 05:37 PM
  3. Mail Merge issue
    By jchris in forum Excel General
    Replies: 0
    Last Post: 11-30-2010, 11:04 AM
  4. Mail Merge Issue!
    By carlosbourn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-30-2007, 12:37 PM
  5. Mail Merge issue
    By b_walls1 in forum Excel General
    Replies: 4
    Last Post: 04-02-2006, 03:15 PM

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