![]() |
|
#1
|
|||
|
|||
|
I have a macro I've been using for the last few years, which now doesn't seem to work in 2010.
This macro enables me to print a resulting merged document, but at each new section treating it as a new job. For example ... I have a 5 page merge template consisting of a covering letter (to be printed onto letterhead - tray 1) and the remaining pages are appendices (to be printed onto plain paper - tray 2) duplex. Once merged, the document is 5 pages x "n" of records in the dataset. So I want every occurance of the covering letter to print on letterhead, e.g. pgs 1, 6, 11, 16 etc. Am I missing a trick? The macro was ..... Code:
Dim i As Long
With ActiveDocument
For i = 1 To .Sections.Count
.PrintOut Background:=False, Range:=wdPrintFromTo, From:="s" & i, To:="s" & i
Next i
End With
Nikki Last edited by macropod; 04-08-2013 at 03:09 PM. Reason: Added code tags & formatting |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to embed printing options to pages or sections | Coaster | Word | 0 | 07-30-2011 07:44 PM |
| Forms with multiple sections | dazza_dog | Word | 0 | 09-14-2010 05:03 AM |
| Printing Sections of a Word Document | Andy Jenkinson | Word | 4 | 02-12-2010 02:53 AM |
| Document with selective sections printing | krismason | Word | 0 | 07-09-2009 03:30 AM |
pagination troubleshooting with multiple sections
|
Katy D'Angelo | Word | 11 | 09-28-2006 12:13 PM |