View Single Post
 
Old 04-08-2013, 09:04 AM
nikkifox nikkifox is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: Apr 2013
Posts: 1
nikkifox is on a distinguished road
Default Printing - merged document, multiple sections

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
Thank you in advance for your help.

Nikki

Last edited by macropod; 04-08-2013 at 03:09 PM. Reason: Added code tags & formatting
Reply With Quote