Need help with printing question

jcaptchaos2

Well-known Member
Joined
Sep 24, 2002
Messages
1,026
I have 12 worksheets in a workbook and want to print sheet number 12 which is named "Codes" to print out on the back of all of the the other worksheets when selected to print so you get the front to back look. So if I select worksheet "one" to print I get worksheet "Codes" on the back. I print to a copy machine so it has the capability of doing this. Can I do this with some code? I have a user form that pops up and allows me to select what worksheets I want to print.
 

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
Hi,

not sure if this solutions will work: you would have to tell us in what order the commands need to go to your machine to get it "front-back"printed

the simplest solution I can imagine is adding a beforeprint event
Code:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Application.EnableEvents = False
Sheets(12).PrintOut
Application.EnableEvents = True
End Sub

instead of this you could add
Sheets(12).PrintOut
within your loop to print the pages

kind regards,
Erik
 

Watch MrExcel Video

Forum statistics

Threads
1,108,624
Messages
5,523,968
Members
409,547
Latest member
AW2020

This Week's Hot Topics

Top