danieldc was telling us:
danieldc nous racontait que :
I have a nice word 2000 VBA code to get a single simple document, in
one unique section, and print it as a book (double faced paper, 2
pages per paper face, page number scheme 4-1, 2-3, 8-5, 6-7).
But when the document has more than 1 section, there is a terrible
mistake at printing pages.
If the document:
- 1st section has 4 pages (numbered 1-4)
- 2nd section more 10 pages (numbered 1-10)
When printing something like "4,1", it result in some pages, equal to
section 1 pages 1 to 4, section 2 page 4 (sort of random like )
What a hell this kind of stupid feature called "section print" (have a
look at "help printing sections") !!!
It is not because it is causing you grief that it is stupid ;-)
What I asked is:
1) in a single section document, is it possible to make an Index at
document 5th page, but showing there "page number = 1" ???
Insert a "Next Page" section break where the Index stars and restart page
numbering at 1.
2) what is the correct / better way to handle/print multi section
documents ?
What code are you using now to print your pages?
In your caese, you mignt ned something like:
p4s1,p1s1, etc.
To make sure that Word prints the proper "Page 1" when you have more than
one "Page 1" in the document, use "pxsy" where p = "page" and s = "section".
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site: http://www.word.mvps.org