Share via

printing mass mailing labels (Avery template 5163)

Anonymous
2013-01-23T04:29:46+00:00

I'm using Word 2007 and I'm trying to create a mass mailing using addresses created in Excel 2007.  Everything seems alright but when I do the merge function only the first two and the last two addresses show on the template.  I've tried everything and can't get anywhere.  I've used word many times in the past to do mass mailings, why it isn't working now eludes me. Help?

Thanks,

Manny

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. Doug Robbins - MVP - Office Apps and Services 322.9K Reputation points MVP Volunteer Moderator
    2013-01-23T09:01:33+00:00

    Here is the code that is included in the Add-in

    Macro to overcome the problem with propagation of mail merge field fields with a label type mail merge when using a Tablet PC and some other Computers that have Tablet PC Functionality available:

    Sub MailMergePropagateLabel()

    Dim atable As Table

    Dim i As Long, j As Long

    Dim source As Cell, target As Cell

    Dim myrange As Range

    Set atable = ActiveDocument.Tables(1)

    Set source = atable.Cell(1, 1)

    Set myrange = source.Range

    myrange.Collapse wdCollapseStart

    ActiveDocument.Fields.Add Range:=myrange, Text:="NEXT", _

    PreserveFormatting:=False

    source.Range.Copy

    For j = 2 To atable.Columns.Count

    Set target = atable.Cell(1, j)

    If target.Range.Fields.Count > 0 Then

    target.Range.Paste

    End If

    Next j

    For i = 2 To atable.Rows.Count

    For j = 1 To atable.Columns.Count

    Set target = atable.Cell(i, j)

    If target.Range.Fields.Count > 0 Then

    target.Range.Paste

    End If

    Next j

    Next i

    atable.Cell(1, 1).Range.Fields(1).Delete

    End Sub

    It is suggested that you put this code into a template that you save in the Word Startup folder so that it becomes an add-in and will be available whenever you need it.  As the macro has the same name as the Word Command that is supposed to do the job, this macro will run when the Update Labels button is used when setting up the mail merge label main document.

    See the article "What do I do with macros sent to me by other newsgroup readers to help me out?” at:

    http://www.word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-01-23T07:59:01+00:00

    Hi Doug, thanks for the quick reply.  I went to the website but couldn't figure out where that actual file was for download.  I use a Wacom Intuos 3 graphics tablet and have never had any issues with my other software.  Still scratching my head over this one.  Thanks for any and all advice.

    Manny

    0 comments No comments
  2. Doug Robbins - MVP - Office Apps and Services 322.9K Reputation points MVP Volunteer Moderator
    2013-01-23T04:36:36+00:00

    There is an issue with the propogating of the label set up when using a Tablet PC or a PC with tablet like functionality. 

    You can overcome it by downloading and installing the MergeLabelFix Add-in from the following page of my Windows Live SkyDrive

    https://skydrive.live.com/?cid=5aedcb43615e886b#cid=5AEDCB43615E886B&id=5AEDCB43615E886B%21566

    0 comments No comments