Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
tech-ill tech-ill is offline
external usenet poster
 
Posts: 1
Default How do I set up rows and columns on used label sheet?


--
tech-ill
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default How do I set up rows and columns on used label sheet?

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


--
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

"tech-ill" wrote in message
...

--
tech-ill



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default How do I set up rows and columns on used label sheet?

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
"tech-ill" wrote in message
...

--
tech-ill



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge using columns instead of rows tamee Mailmerge 2 March 28th 07 02:07 AM
'Tables'- 2 columns,4 rows. Can you merge one column into 3 rows? CalMac Captain Tables 1 May 19th 06 03:27 PM
label page with 3 columns and 3 rows? Lorraine New Users 3 January 13th 06 12:36 AM
convert columns into rows GreenEyedMedusa Tables 3 November 28th 05 07:50 PM
can you put rows instead of cloumns on the sheet in microsoft wo. luluness Page Layout 1 December 8th 04 03:32 PM


All times are GMT +1. The time now is 06:29 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"