Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
PARSONS
 
Posts: n/a
Default print a multipage letter on different papers

The mail merge contains 50 3-pg letters. How do you get it to print the
first pg of every letter on letterhead and the 2nd and 3rd on another paper.
We've tried everything for 2 days and nothing works! IS IT EVEN POSSIBLE?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
 
Posts: n/a
Default print a multipage letter on different papers

This appears to be the same as the question posted by "linda" which I
replied to a couple of hours ago:

I think the only way to do this is to use VBA to perform a separate merge
for each document (or you may be able to merge to a new document and then
split it up).

You can try the following VBA:

Sub PrintOneDocPerSourceRec()
Dim intSourceRecord
Dim objMerge As Word.MailMerge
Dim strOutputDocumentName As String
Dim TerminateMerge As Boolean

' Need to set up this object as the ActiveDocument changes when the
' merge is performed. Besides, it's clearer.

Set objMerge = ActiveDocument.MailMerge
With objMerge

' If no data source has been defined, do it here using OpenDataSource.
' But if it is already defined in the document, you should not need
' to define it here.

' .OpenDataSource _
' Name:="whatever"

intSourceRecord = 1
TerminateMerge = False

Do Until TerminateMerge
.DataSource.ActiveRecord = intSourceRecord

' if we have gone past the end (and possibly, if there are no records)
' then the Activerecord will not be what we have just tried to set it to

If .DataSource.ActiveRecord intSourceRecord Then
TerminateMerge = True
' the record exists
Else

.DataSource.FirstRecord = intSourceRecord
.DataSource.LastRecord = intSourceRecord
.Destination = wdSendToPrinter 'please check the constant name
.Execute

intSourceRecord = intSourceRecord + 1
End If
Loop
End With
End Sub

If you haven't used Word VBA Macros before, see

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

Peter Jamieson

"PARSONS" wrote in message
...
The mail merge contains 50 3-pg letters. How do you get it to print the
first pg of every letter on letterhead and the 2nd and 3rd on another
paper.
We've tried everything for 2 days and nothing works! IS IT EVEN POSSIBLE?



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
How do i simply type a letter and then print it Melinda New Users 19 April 27th 23 02:52 PM
How to make one large letter per 81/2x11 page top to bottom? JHTIK Page Layout 4 April 6th 23 01:10 PM
Using Word 2003 can't print anything with 2 pages or more? Maureen Microsoft Word Help 26 April 24th 08 08:48 PM
Print envelope from form letter DaveG Mailmerge 3 May 2nd 06 07:47 PM
Why does my LANDSCAPE Document print in LETTER format? HCFRAdmin Page Layout 5 June 28th 05 12:22 AM


All times are GMT +1. The time now is 12:04 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"