Solved

Mail Merge Recipient List in Word 2010

Posted on 2010-11-17
2
1,433 Views
Last Modified: 2012-05-10
In Word 2003 when doing a mail merge, you were able to click "Edit Recipient List" and get a lovely form view.  However, when you do it in Word 2007/2010, you are taken to the list view only with no option to get into that form view.  The list view is cumbersome in that they have to widen each column and enlarge the dialog box each time because it won't stay that way.  Any suggestions?  Thanks
0
Comment
Question by:Awight
2 Comments
 
LVL 4

Accepted Solution

by:
BrainB earned 250 total points
ID: 34159137
I wonder why use Word when Excel can do a more straightforward job.
Here is something I supplied in answer to another question.
File attached.
'=============================================================================
'- EXCEL "MAIL MERGE" TO PRINT LETTERS
'- Extract data from Excel worksheet and put into letter set up on another sheet
'- Message box option to Print or Print Preview at the beginning
'- Brian Baulsom November 2010
'=============================================================================
Sub MAIL()
    Dim Customers As Worksheet
    Dim FromRow As Long
    Dim LastRow As Long
    Dim Letter As Worksheet
    Dim ToRow As Long
    '-------------------------------------------------------------------------
    Dim Company As String
    Dim Contact As String
    Dim Address1 As String
    Dim Address2 As String
    Dim rsp
    Dim PrintOrPreview As String
    '-------------------------------------------------------------------------
    '- MESSAGE
    rsp = MsgBox("Do you wish to Print or just Preview" & vbCr _
        & "Yes       =  Print" & vbCr & "No        =  Print Preview" _
        & vbCr & "Cancel =  Exit", vbYesNoCancel)
    If rsp = vbCancel Then Exit Sub
    PrintOrPreview = IIf(rsp = vbYes, "PRINT", "PREVIEW")
    Application.Calculation = xlCalculationManual
    '-------------------------------------------------------------------------
    Set Customers = Worksheets("Customers")
    LastRow = Customers.Range("A65536").End(xlUp).Row
    Set Letter = Worksheets("Letter")
    '-------------------------------------------------------------------------
    '- LOOP CUSTOMERS
    FromRow = 2
    With Customers
    While FromRow <= LastRow
        Application.StatusBar = " Row " & FromRow & " \ " & LastRow
        '---------------------------------------------------------------------
            Company = .Cells(FromRow, "A").Value
            Contact = .Cells(FromRow, "B").Value & " " & .Cells(FromRow, "C").Value
            Address1 = .Cells(FromRow, "D").Value
            Address2 = .Cells(FromRow, "E").Value & ", " _
                    & .Cells(FromRow, "F").Value & " " _
                    & .Cells(FromRow, "G").Value
        '---------------------------------------------------------------------
        '- LETTER : CUSTOMER ADDRESS
        Letter.Range("B2").Value = Contact
        Letter.Range("B3").Value = Company
        Letter.Range("B4").Value = Address1
        Letter.Range("B5").Value = Address2
        Letter.Range("B9").Value = "Dear " & Contact
        '----------------------------------------------------------------------
        '- LETTER : ORDERS
        ToRow = 16
        While .Cells(FromRow, "A").Value = Company And FromRow <= LastRow
            Letter.Cells(ToRow, "B").Value = Customers.Cells(FromRow, "L").Value
            Letter.Cells(ToRow, "C").Value = Customers.Cells(FromRow, "I").Value
            Letter.Cells(ToRow, "D").Value = Customers.Cells(FromRow, "j").Value
            Letter.Cells(ToRow, "e").Value = Customers.Cells(FromRow, "k").Value
            FromRow = FromRow + 1
            ToRow = ToRow + 1
        Wend
        '=====================================================================
        '- PRINT THE LETTER
        If PrintOrPreview = "PRINT" Then
            Letter.PrintOut
        Else
            Letter.PrintPreview
            rsp = MsgBox("Please click OK to see more or Cancel", vbOKCancel)
            If rsp = vbCancel Then Exit Sub
        End If
        '=====================================================================
    Wend
    End With
    '-------------------------------------------------------------------------
    MsgBox ("Done")
    Application.StatusBar = False
    Application.Calculation = xlCalculationAutomatic
End Sub
'=============================================================================

Open in new window

Mail-Merge-Test-2003.xls
0
 

Author Comment

by:Awight
ID: 34400466
Thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Free Online PDF Converter 2 58
Header of docx file 17 102
Word Template Mail merge with vb.net 4 66
Modify table cell in winword via automation 3 35
Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
I'm writing to share my clumsy experience in using this elegant tool so you can avoid every stupid mistake I made. (I leave it to the authorities to decide if this deserves a place in the Knowledge archives.)  Now that I am on the other side of my l…
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question