prinitng selctions

P

Paula Marcy

i need to print from page 1 to page n
page n is te one in which i find text "Chapter 2"

as my selection is located at chapter 2 (page 7 for example, but not always
7!))
how can i use ActiveDocument.PrintOut Range:=wdPrintFromTo, From:="1",
To:=n ??

how can i know in vba the current page number?

i need to use this for printing from chpater 1 to last page of chapter 1
then same for chpater 2 and 3

tya
 
Top