M
macroapa
hi, I have code that produces various documents.
Now, in the main, the documents are printed on a duplex printer and so
the document contains extra page breaks to ensure that certain pages
dont print on the reverse of the previous page (ie it inserts 2 page
breaks instead of 1)
However, sometimes i'll be printing on a single sided printer and as
such i end up getting a load of 'blank' pages (apart from the header
and footer).
Is tehre a way i can loop thru all pages in the doc and if there is
nothing in the main body of a page then it removes the page?
Thanks.
Now, in the main, the documents are printed on a duplex printer and so
the document contains extra page breaks to ensure that certain pages
dont print on the reverse of the previous page (ie it inserts 2 page
breaks instead of 1)
However, sometimes i'll be printing on a single sided printer and as
such i end up getting a load of 'blank' pages (apart from the header
and footer).
Is tehre a way i can loop thru all pages in the doc and if there is
nothing in the main body of a page then it removes the page?
Thanks.