Reply
 
Thread Tools Display Modes
  #1   Report Post  
craig friend via OfficeKB.com
 
Posts: n/a
Default Mailmerge with different page requirements

I am merging data from an excel document with forms created within Word.
When I attempt to output this to a new document or directly to the printer I
receive the same results. The desired result is to have each record(set of 5
pages) print with a separate cover and end sheet. I know that I can set my
printer up with different paper in separate trays but the program(Word)
doesn't seem to differentiate a new cover for each document. It prints the
very first page(of 45 for example) with the proper cover and the last page(of
45 for example)with the proper end sheet. This occurs if I merge to a
document or to print. If anyone has any suggestions on how to repeat a 5
page document over and over with a different cover and end sheet in a
automated way, I would appreciate it.
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

If you execute the merge to a new document and with that document active,
you run a macro containing the following code, it will print the "document"
for each record as a separate print job.

--
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
"craig friend via OfficeKB.com" wrote in message
...
I am merging data from an excel document with forms created within Word.
When I attempt to output this to a new document or directly to the printer
I
receive the same results. The desired result is to have each record(set
of 5
pages) print with a separate cover and end sheet. I know that I can set
my
printer up with different paper in separate trays but the program(Word)
doesn't seem to differentiate a new cover for each document. It prints
the
very first page(of 45 for example) with the proper cover and the last
page(of
45 for example)with the proper end sheet. This occurs if I merge to a
document or to print. If anyone has any suggestions on how to repeat a 5
page document over and over with a different cover and end sheet in a
automated way, I would appreciate it.



  #3   Report Post  
craig friend via OfficeKB.com
 
Posts: n/a
Default

Doug...the text was clipped and no longer contains the macro...is there any
way I can contact you to get that macro

Thanks

--
Message posted via http://www.officekb.com
  #4   Report Post  
Doug Robbins
 
Posts: n/a
Default

Here it is:

Dim i As Long
For i = 1 To ActiveDocument.Sections.Count
ActiveDocument.PrintOut Range:=wdPrintFromTo, From:="s" & i, To:="s" & i
Next i


--
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
"craig friend via OfficeKB.com" wrote in message
...
Doug...the text was clipped and no longer contains the macro...is there
any
way I can contact you to get that macro

Thanks

--
Message posted via http://www.officekb.com



  #5   Report Post  
craig friend via OfficeKB.com
 
Posts: n/a
Default

Doug,

They keep clipping the info. I managed to get the first three lines and part
of the 4th.

If there is somewhere that you can point me to that might have this
information available, I would appreciate it!!

--
Message posted via http://www.officekb.com


  #6   Report Post  
craig friend via OfficeKB.com
 
Posts: n/a
Default

Doug...

I used the code that was present and it worked fine. I just assumed, because
the thread stated it had data stripped, that it wasn't complete.

Thanks again for all your help!

--
Message posted via http://www.officekb.com
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
Page Numbers Print { PAGE } in Footer in WORD even after ALT + F9 Brent Microsoft Word Help 3 June 2nd 05 05:35 PM
Page number difficulties Tjodrik Microsoft Word Help 3 May 9th 05 02:54 PM
Odd page section break Jenny Page Layout 5 December 15th 04 08:05 AM
FIrst page footers Noel S Pamfree Microsoft Word Help 7 December 6th 04 08:49 PM
Insert objects at page breaks DRS - Jonathan Microsoft Word Help 4 November 29th 04 07:16 PM


All times are GMT +1. The time now is 07:20 PM.

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"