Print pages from a section

G

Giuliano

Hi,

I have a little problem and I'm not able to solve it

I have a document with 3 sections; in section 1 I have one page, 58 in 2nd
and 1 in section three.
Each section start numbering the pages from 1 and the document is printed
with 2 pages x sheet.
Well my macro uses the printout method to print pages, but when I choose to
print page 1 I get 2 sheet with page 1, one from section 1 and the other
from section 2. This problem occurs even if I print choosing file->print.

How can I select the section from which I want to print pages ?

The problem is present in Office 2K SP3 and office XP.

Many thanks
Giuliano
 
C

Cindy Meister -WordMVP-

Hi Giuliano,

You need to specify the section as well as the page. In the UI this would be
s1p1, for example.
I have a document with 3 sections; in section 1 I have one page, 58 in 2nd
and 1 in section three.
Each section start numbering the pages from 1 and the document is printed
with 2 pages x sheet.
Well my macro uses the printout method to print pages, but when I choose to
print page 1 I get 2 sheet with page 1, one from section 1 and the other
from section 2. This problem occurs even if I print choosing file->print.

How can I select the section from which I want to print pages ?

The problem is present in Office 2K SP3 and office XP.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan 24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
G

Giuliano

"Cindy Meister -WordMVP-" <[email protected]> ha scritto nel
messaggio | Hi Giuliano,
|
| You need to specify the section as well as the page. In the UI this would
be
| s1p1, for example.

Hi Cindy,

I tried this in my macro (I need to print both pages on the same sheet):

szPages = "s3p1,s1p1"
ThisDocument.PrintOut Background:=False, _
Range:=wdPrintRangeOfPages, _
Pages:=szPages

but I got an invalid page range error.
I even tried with file->print but the same error occured.

Where is the mistake ?

Many thanks
Giuliano
 
G

Giuliano

"Giuliano" <[email protected]> ha scritto nel messaggio
| Hi Cindy,
|
| I tried this in my macro (I need to print both pages on the same sheet):
|
| szPages = "s3p1,s1p1"
| ThisDocument.PrintOut Background:=False, _
| Range:=wdPrintRangeOfPages, _
| Pages:=szPages
|

FOUND ! I must switch between section and page eg "p1s3,p1s1"

Thanks again !
Giuliano
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top