Setup file for double sided printing

Titian

Well-known Member
Joined
Dec 17, 2004
Messages
567
I produce an Aged Debt file report for company representatives. I would like to organise the file such that each section (representative) has an even number of pages for printing back to back and distribution to the individuals.

The number of pages initially is variable so when a representative has actually an odd number of pages I need to insert a blank page to prevent the double sided printing mixing the data for two reps on the same sheet of output.

I am using the following code to generate subtotals for each representative

Code:
Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(6, 7, 8, 9, _
        10, 11, 12), Replace:=True, PageBreaks:=True, SummaryBelowData:=True

and wondered if there was some way to incorporate my requirement here.

I guess the "PageBreaks:=True" part of the code actually throws to the head of the next page after subtotalling, so when the page count to this point is an odd number it throws a blank page?

Any help much appreciated.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,224,559
Messages
6,179,517
Members
452,921
Latest member
BBQKING

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top