View Full Version : Numpages + Startpage
assafh21
02-10-2012, 11:58 AM
Hi there
How should I change the NUMPAGES formula so when I change the PAGE start number the NUMPAGES with add the start PAGE number?
for example if document has 10 pages and I copy from page 8,
I get page 8 of 3, how can change it to be page 8 of 10 (PAGE + NUMPAGES)
Many thanks
Assaf
fumei
02-10-2012, 03:55 PM
Do you mean copy pages 8, 9, 10 to a NEW document? And if so, are you saying you get "8 of 3"?
macropod
02-10-2012, 05:32 PM
Hi Gerry,
I think what Assaf is saying is that, in the new document, he's set the page numbering to start at 8 on the first page. Having done that, he wants the 'Page X of Y' numbering to have a 'Y' value that take into account the starting number.
The only practical way of doing this is to have a SET field on the first page coded as:
{SET StartAt {={PAGE}-1}}
and, for 'Y' part of the 'Page X of Y' numbering, use a field coded as:
{={NUMPAGES}+{StartAt}}
The SET field can go in either the body of the document on the first page or, if a 'Different First Page' layout is used, in the first page header. My preference would be the latter, as the SET field is less likely to get deleted there.
fumei
02-10-2012, 06:11 PM
Well it was not actually stated there is a new document, although it would SEEM that way.
macropod
02-10-2012, 06:56 PM
Well it was not actually stated there is a new document, although it would SEEM that way.Sometimes we have to infer these things from the scraps some posters do give us ... with some, getting a proper description of the issue is like getting blood out of a stone.
fumei
02-11-2012, 01:06 AM
but one must try
Assaf, since this is a NEW document, and a NEW page 1...why not - ahem - make it Page 1????
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.