-
Jan 5th, 2012, 10:30 AM
#1
Thread Starter
New Member
Duplex Printing in Excel
I have a worksheet that has once filtered creates multiple Risk Assessments, Up to 40, for individual equipment.
The problem I have is that each risk assessment is between 2-6 pages in length depending on the filter.
At present I have to print one sided to make sure the start of a risk assessment is not on the back of the page.
Is there a way of excel recognizing the individual risk assessments and the making sure the header (or Beginning of the Risk Assessment) is always on an odd numbered page so i can duplex print?
Many thanks
Dean
-
Jan 5th, 2012, 10:31 AM
#2
Re: Duplex Printing in Excel
Moved From The Codebank (which is for sharing code rather than posting questions )
-
Jan 5th, 2012, 03:25 PM
#3
Re: Duplex Printing in Excel
Is there a way of excel recognizing the individual risk assessments and the making sure the header (or Beginning of the Risk Assessment) is always on an odd numbered page so i can duplex print?
i am sure there is, it may require looping through all pages and inserting a page break where required
vb Code:
ActiveSheet.HPageBreaks.Add Range("A10")
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|