adstam
Technical User
- Feb 28, 2001
- 25
I have a template in wich I use more sections. One of the reasons is to start counting pages (page 1) on the third page (so the cover is in the same document). To print the documents created with the template I use a VB routine 'BOOKLET' to collect the pages in a booklet (example: page 16 and page 1 printed on one sheet, page 2 and page 15, etc.).
Because i'm using sections i need to use the possibility to use the section numbers in a document so i can use printranges like 'P2S3, P1S1' (print Page 2 from section 3 together with P1 from section 1). I need this because the pagenumbering used for printing is not the pagenumbering as seen in the statusbar but the pagenumbering used in the sections.
Probebly most simple way is to find out the values of Page# and Section# in a selection, but I have not found a way yet to do this in VBA.
Because i'm using sections i need to use the possibility to use the section numbers in a document so i can use printranges like 'P2S3, P1S1' (print Page 2 from section 3 together with P1 from section 1). I need this because the pagenumbering used for printing is not the pagenumbering as seen in the statusbar but the pagenumbering used in the sections.
Probebly most simple way is to find out the values of Page# and Section# in a selection, but I have not found a way yet to do this in VBA.