Hi,

Pls help to print select pages..the issue is..i used to merge a word
document of 7 pages ...with the excel data...which results to hav a file of
654 pages...i have saved it...after some months .i want to print page 2 & 3
..and page 9 & 10..16 & 17..i.e leaving 5 pages which is not required better
it will like
Page 1- not req
Page 2-print
Page 3- print
Page 4 - not print
Page 5 - not print
Page 6 - not print
Page 7 - not print
Page 8 - not print
Page 9 - print
Page 10- print
Page 11- not print
Page 12 - not print
Page 13 - not print
Page 14 - not print
like wise...till the end of the document..is this will happen in word in
one go ..i have to do it manually..i am fed up;
Thanks,
Safi

Re: Printing Select Pages in sequence in a file by Doug

Doug
Wed Sep 17 02:24:51 PDT 2008

Each 7 page letter will be in a separate section in the document and you
therefore need to tell Word to print the page and the section number - for
example
p2s1-p3s1, p2s2-p3s2, etc

To do this with a macro, use

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


--
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

"Safi." <Safi@discussions.microsoft.com> wrote in message
news:72E48D4A-C1DF-43FE-885E-3D3EF0584E64@microsoft.com...
> Hi,
>
> Pls help to print select pages..the issue is..i used to merge a word
> document of 7 pages ...with the excel data...which results to hav a file
> of
> 654 pages...i have saved it...after some months .i want to print page 2 &
> 3
> ..and page 9 & 10..16 & 17..i.e leaving 5 pages which is not required
> better
> it will like
> Page 1- not req
> Page 2-print
> Page 3- print
> Page 4 - not print
> Page 5 - not print
> Page 6 - not print
> Page 7 - not print
> Page 8 - not print
> Page 9 - print
> Page 10- print
> Page 11- not print
> Page 12 - not print
> Page 13 - not print
> Page 14 - not print
> like wise...till the end of the document..is this will happen in word in
> one go ..i have to do it manually..i am fed up;
> Thanks,
> Safi