Since upgrading to 2010, the macro I used to use for printing new sections isn't working:
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
The aim is to print a merged document, but with different print instructions per page.
E.G. A mailmerge template is merged with say 200 records, so I end up with document made up of 200 sections x "n" pages. The first page of every new section ideally wants to be printed on our letterhead, selected from Tray 1. The remaining pages of that section want to be printed on plain paper, AND duplex, from Tray 2.
In the past I have recorded the above macro. Then set the print instructions so that frontpage would print from Tray 1 and "other" pages would print from Tray 2 and then apply duplex instruction.
I am getting a multitude of variances in the print results using 2010 and wondered if I'm missing a trick here.
Thank you.
Nikki
Bookmarks