Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / April 2007

Tip: Looking for answers? Try searching our database.

How do I set up rows and columns on used label sheet?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tech-ill - 14 Apr 2007 04:20 GMT
Signature

tech-ill

Doug Robbins - Word MVP - 14 Apr 2007 07:48 GMT
Maybe this will do what you want (You did not give much to go on)

Macro to set the first label on a part sheet of labels for a label type
mailmerge.

Dim MMMDoc As Document

Dim dsource As Document

Dim dtable As Table

Dim i As Long, j As Long

Set MMMDoc = ActiveDocument

With MMMDoc.MailMerge

   If .MainDocumentType = wdMailingLabels Then

       If .State = wdMainAndDataSource Then

           Set dsource = Documents.Open(.DataSource.Name)

           Set dtable = dsource.Tables(1)

           i = InputBox("Enter the number of labels that have already been
used on the sheet.", "Set Starting Label")

           If IsNumeric(i) Then

               With dtable

                   For j = 1 To i

                       .Rows.Add BeforeRow:=.Rows(2)

                   Next j

               End With

           End If

           .Destination = wdSendToNewDocument

           .Execute

       End If

   End If

End With

dsource.Close wdDoNotSaveChanges

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Peter Jamieson - 14 Apr 2007 08:28 GMT
Do you mean "how do I print labels in the unused part of a used sheet of
labels" ?

If so, are you printing multiple copies of the same label, or are you
mailmerging to labels? Are you only ever printing labels on a single sheet
at a time?

Peter Jamieson

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.