This all comes down to using sections, I think.
The first couple of pages are a separate section, with no page
information in the header.
Then, each of your months are to occupy an own section.
In the header of the section, you can add the page number, but format
it as starting at 1. This will mean that the page numbering will
restart at 1 in every section. That takes care of the day of the month.
Now comes the interesting bit - the month name. To do this, I use the
section number and 12 fields. Hang on to your hat while I try and
explain this...
- Insert an IF field, or use Ctrl-F9 to insert a field and type 'IF '
(without the quotes).
- After this, insert another field (i.e. inside the IF field). Again us
Ctrl-F9 and enter 'SECTION'. This is the section number.
- After this field (i.e. again in the IF field) enter ' = 2 "January"
""' (without the single quotes, but with the double quotes and mind
those spaces!). Okay, this field will display 'January' if the section
number is equal to 2...
- Copy this combined field and modify for the remaining months (i.e.
change 2 to 3 and January to Febuary, etc). Not that this can all be
done in the SAME header.
- Concatenate the fields without spaces in between.
- The result should look like this:
{ IF { SECTION } = 2 "January" "" }{ IF { SECTION } = 3 "Febuary" "" }{
IF { SECTION } = 4 "March" "" }{ IF { SECTION } = 5 "April" "" }{ IF {
SECTION } = 6 "May" "" }{ IF { SECTION } = 7 "June" "" }{ IF { SECTION
} = 8 "July" "" }{ IF { SECTION } = 9 "August" "" }{ IF { SECTION } =
10 "September" "" }{ IF { SECTION } = 11 "October" "" }{ IF { SECTION }
= 12 "November" "" }{ IF { SECTION } = 13 "December" "" } { PAGE }
Note that you never type a '{' or '}'. They should always be inserted
tih Ctrl-F9!
So, now your header for section 2 (January) should not be the 'Same as
Previous' section, but all remaining sections can!
Update the fields in the document, and voila! You are of course still
responsible for the number of pages in each section....
If anyone has a brighter way to change section number to month name
(without resorting to VBA), then I'd be interested to see that.
Hope that was what you were looking for. Good luck with it!
Regards,
Marcel
- - - - - 8< - - - - - 8< - - - - -
Any man whose errors take ten years to correct is quite a man.
-- J. Robert Oppenheimer